Skip to content

Commit

Permalink
fix(docker): Set user id and gid to info
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelsJP committed Mar 7, 2024
1 parent a14a4d1 commit f200df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ info "Use 'CONTAINER_LOG_LEVEL=DEBUG' to see the full list of active environment
echo "###########################"
echo "# Container sanity checks #"
echo "###########################"
debug "Running container as user $(whoami) with id $(id -u) and group $(id -g)"
info "Running container as user $(whoami) with id $(id -u) and group $(id -g)"
if [[ $(id -u) -ne 0 ]] || [[ $(id -g) -ne 0 ]]; then
# Test if the user tampered with the user and group settings
warning "Running container as user '$(whoami)' with id $(id -u) and group $(id -g)"
Expand Down

0 comments on commit f200df3

Please sign in to comment.