Skip to content

Commit

Permalink
drop privileges in containerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Savitz <[email protected]>
  • Loading branch information
theyoyojo committed Jan 21, 2025
1 parent 4701114 commit 02dd96d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions orbit/radius.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,12 @@ def handle_containerfile(rocket):
smtpserverport = 465
smtpencryption = ssl
GITCONFIG
RUN useradd {username} -U
VOLUME /home/{username}/
USER {username}:{username}
WORKDIR /home/{username}/
ENTRYPOINT ["/usr/bin/bash", "-l", "-i"]
'''.encode())


Expand Down

0 comments on commit 02dd96d

Please sign in to comment.