diff --git a/.github/repo-templates/d/actions-base.Dockerfile b/.github/repo-templates/d/actions-base.Dockerfile new file mode 100644 index 0000000..a4b75e3 --- /dev/null +++ b/.github/repo-templates/d/actions-base.Dockerfile @@ -0,0 +1,19 @@ +FROM repo2.hub.gmetri.io/gmetrivr/basin:node-22-dev-v2 + +USER root + +RUN apt-get update \ + && apt-get install -y wget gnupg2 lsb-release \ + && sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \ + && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ + && apt-get -y update \ + && apt-get install -y --no-install-recommends \ + postgresql-client-14 \ + && apt-get clean all \ + && rm -rf /var/lib/apt/lists/* + +USER node + +# No need to install dependencies in this step +# COPY --chown=1000 ./package.json ./pnpm-lock.yaml .npmrc /src/ +# RUN pnpm install;