From 93e1ff00862e6380300281746464d7ad66779cd8 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Mon, 14 Oct 2024 08:50:08 +0200 Subject: [PATCH] Add coreutils for env -S shebang --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ce691db..cd50c0f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,12 @@ WORKDIR /preflight COPY ./docker/package.json ./docker/pnpm-lock.yaml ./ # Install dependencies: +# - env to enable -S flag for custom shebang (coreutils) https://forum.gitlab.com/t/error-usr-bin-env-unrecognized-option-s-with-alpine-linux-image-causes-ci-script-to-fail/64063 # - Git to allow `git clone` in the clone-and-preflight script (git) # - PostgreSQL for project databases # - Python and build tools for building libpg-query with node-gyp (python3, py3-pip, build-base, bash) RUN apk update -RUN apk add --no-cache git postgresql python3 py3-pip build-base bash +RUN apk add --no-cache coreutils git postgresql python3 py3-pip build-base bash RUN corepack enable && corepack prepare pnpm@latest --activate RUN pnpm install --frozen-lockfile