Skip to content

Commit

Permalink
Merge pull request #43 from shanemcd/run-non-root
Browse files Browse the repository at this point in the history
Run as non-root user by default

Reviewed-by: https://github.com/apps/ansible-zuul
  • Loading branch information
ansible-zuul[bot] authored Mar 30, 2021
2 parents 05b536c + 4a62230 commit a7e8792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ COPY --from=quay.io/project-receptor/receptor:0.9.6 /usr/bin/receptor /usr/bin/r
RUN mkdir -p /var/run/receptor
ADD run.sh /run.sh
CMD /run.sh
USER 1000
1 change: 1 addition & 0 deletions execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ additional_build_steps:
- RUN mkdir -p /var/run/receptor
- ADD run.sh /run.sh
- CMD /run.sh
- USER 1000

0 comments on commit a7e8792

Please sign in to comment.