Skip to content

Commit

Permalink
/etc/passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed Apr 27, 2024
1 parent 8079c0d commit 0343bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ WORKDIR /app
COPY . /app

USER root
# for some reason this is necessary?
RUN echo 'root:x:0:0:root:/root:/bin/bash' >> /etc/passwd

# Define the command to run your application
CMD ["/bin/bash"]

0 comments on commit 0343bcb

Please sign in to comment.