Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
smortexa committed May 16, 2024
1 parent 61ed3a9 commit 536975b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion FrankenPHP.Alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ RUN arch="$(apk --print-arch)" \
RUN addgroup -g ${WWWGROUP} ${USER} \
&& adduser -D -h ${ROOT} -G ${USER} -u ${WWWUSER} -s /bin/sh ${USER}

RUN chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
RUN mkdir -p /var/log/supervisor /var/run/supervisor \
&& chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
&& chmod -R a+rw ${ROOT} /var/log /var/run

RUN cp ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini
Expand Down
3 changes: 2 additions & 1 deletion RoadRunner.Alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ RUN arch="$(apk --print-arch)" \
RUN addgroup -g ${WWWGROUP} ${USER} \
&& adduser -D -h ${ROOT} -G ${USER} -u ${WWWUSER} -s /bin/sh ${USER}

RUN chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
RUN mkdir -p /var/log/supervisor /var/run/supervisor \
&& chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
&& chmod -R a+rw ${ROOT} /var/log /var/run

RUN cp ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini
Expand Down
3 changes: 2 additions & 1 deletion Swoole.Alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ RUN arch="$(apk --print-arch)" \
RUN addgroup -g ${WWWGROUP} ${USER} \
&& adduser -D -h ${ROOT} -G ${USER} -u ${WWWUSER} -s /bin/sh ${USER}

RUN chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
RUN mkdir -p /var/log/supervisor /var/run/supervisor \
&& chown -R ${USER}:${USER} ${ROOT} /var/log /var/run \
&& chmod -R a+rw ${ROOT} /var/log /var/run

RUN cp ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini
Expand Down

0 comments on commit 536975b

Please sign in to comment.