Skip to content

Commit

Permalink
changing dockerfile to use CONTAINER_UID
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Jul 23, 2024
1 parent b75ad70 commit 978e3b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ EOF

COPY --chown=nobody:nobody --chmod=0755 src/usr/local/bin/entrypoint.sh /usr/local/bin/entrypoint.sh

USER ${CONTAINER_USER}
USER ${CONTAINER_UID}

WORKDIR ${CONTAINER_HOME}

Expand Down
3 changes: 0 additions & 3 deletions helm_deploy/hmpps-github-actions-runner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ generic-service:
tag: xxx # override at deployment time
port: 8080

securityContext:
runAsUser: 10000

ingress:
enabled: false

Expand Down

0 comments on commit 978e3b6

Please sign in to comment.