Skip to content

Commit

Permalink
Remove all changes to ownership for now
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Aug 9, 2024
1 parent 80b9027 commit fadf724
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN adduser --disabled-password --gecos "" appuser

# install our test runner to /opt
WORKDIR /opt/test-runner
COPY --chown=appuser:appuser . .
COPY . .

# Install pnpm so it will be available read-only
# https://github.com/nodejs/corepack/issues/183#issue-1379672431
Expand All @@ -37,9 +37,6 @@ RUN corepack pnpm --version
RUN chmod 444 /idk/corepack/lastKnownGood.json
RUN chmod 555 /idk/corepack

# Execute everything as the appuser
USER appuser

# Build the test runner
RUN set -ex; \
# install all the development modules (used for building)
Expand All @@ -52,4 +49,6 @@ RUN set -ex; \
ENV COREPACK_ENABLE_NETWORK=0
ENV COREPACK_ENABLE_STRICT=0

# Execute everything as the appuser
USER appuser
ENTRYPOINT [ "/opt/test-runner/bin/run.sh" ]

0 comments on commit fadf724

Please sign in to comment.