Skip to content

Commit

Permalink
fixes for Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ford-at-aws committed Oct 31, 2023
1 parent c2ba93f commit 0fa5708
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ WORKDIR /php
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
RUN adduser -S -G automation automation
RUN chown -R automation:automation /php/
RUN addgroup -S automation \
adduser -S -G automation automation \
chown -R automation:automation /php/

USER automation:automation

CMD ["./php/testing", "--integ"]

0 comments on commit 0fa5708

Please sign in to comment.