Skip to content

Commit

Permalink
I forgot to affect correct ownership to temporary building directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKHISSI authored and SDKHISSI committed Jan 23, 2025
1 parent 2b6d502 commit 85d0d0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/dockerfileGHA.dev/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ session.use_strict_mode = 1
session.use_cookies = 1

; https://php.net/session.cookie-secure
;session.cookie_secure =
session.cookie_secure = 1

; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating
Expand Down
4 changes: 3 additions & 1 deletion docker/dockerfileGHA.prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ RUN \
# Move Symfony CLI to a global location
&& mv /root/.symfony5/bin/symfony /usr/local/bin/symfony \
# Change /var/www ownership
&& chown -R nonroot:nonroot /var/www
&& chown -R nonroot:nonroot /var/www \
&& mkdir -p /building \
&& chown -R nonroot:nonroot /building

# Switch to non-root user
USER nonroot
Expand Down
2 changes: 1 addition & 1 deletion docker/dockerfileGHA.prod/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ session.use_strict_mode = 1
session.use_cookies = 1

; https://php.net/session.cookie-secure
;session.cookie_secure =
session.cookie_secure = 1

; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating
Expand Down

0 comments on commit 85d0d0a

Please sign in to comment.