Skip to content

Commit

Permalink
Add coreutils for env -S shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Oct 14, 2024
1 parent 1ac7eb9 commit 93e1ff0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93e1ff0

Please sign in to comment.