Skip to content

Commit

Permalink
Run as root
Browse files Browse the repository at this point in the history
  • Loading branch information
baksetercx committed Apr 17, 2024
1 parent 17092aa commit efa606b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/gh-actions-docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,4 @@ COPY app ./app

RUN cabal install --overwrite-policy=always

ARG USERNAME=gh-actions-docs
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID $USERNAME
RUN chown -R $USERNAME .
USER $USERNAME

ENTRYPOINT ["gh-actions-docs"]

0 comments on commit efa606b

Please sign in to comment.