Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aviral-nayya authored May 18, 2023
1 parent ae43816 commit 18ba442
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ COPY ./contrib/semver ./contrib/semver
RUN install ./contrib/semver /usr/local/bin
COPY entrypoint.sh /entrypoint.sh

RUN apk add --no-cache git
RUN apk update && apk add bash curl jq

# Change the ownership of files in /github/workspace
RUN addgroup -g 1000 mygroup && \
adduser -D -u 1000 -G mygroup myuser && \
chown -R myuser:mygroup /github/workspace
RUN apk add --no-cache git bash curl jq && \
addgroup -g 1000 mygroup && \
adduser -D -u 1000 -G mygroup myuser

USER myuser

Expand Down

0 comments on commit 18ba442

Please sign in to comment.