Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ford-at-aws committed Oct 31, 2023
1 parent 0fa5708 commit 76ae606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ WORKDIR /php
# Perform build steps
RUN find . -name "composer.json" -not -path "*vendor*" -exec bash -c "dirname {} | xargs -I % composer install --working-dir=%" \;

# Set non-root user
RUN addgroup -S automation \
adduser -S -G automation automation \
# Set non-root user w/ ownership of /php
RUN addgroup -S automation && \
adduser -S -G automation automation && \
chown -R automation:automation /php/

USER automation:automation
Expand Down

0 comments on commit 76ae606

Please sign in to comment.