Skip to content

Commit

Permalink
Modify AppImage Dockerfile to make /etc/passwd changes in-place.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevg committed Jul 26, 2024
1 parent b00603b commit c5e0835
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
4 changes: 3 additions & 1 deletion appimage/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ ENV NODE_VERSION="$NODE_VERSION_DEFAULT"

ENV RUNNER="root"
ENV HOME="/github/home"
COPY files/etc/passwd /etc/passwd

# Assuage GitHub Actions by setting root user home directory to /github/home
RUN sed -i'' 's@root:x:0:0:root:/root:/bin/bash@root:x:0:0:root:/github/home:/bin/bash@g' /etc/passwd

USER $RUNNER
WORKDIR $HOME
Expand Down
24 changes: 0 additions & 24 deletions appimage/docker/files/etc/passwd

This file was deleted.

0 comments on commit c5e0835

Please sign in to comment.