Skip to content

Commit 58f2568

Browse files
authored
Adds user root line to fix potential permissions issues
1 parent dbb0618 commit 58f2568

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dockerfiles/php.root.dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ RUN mkdir -p /usr/src/php/ext/redis \
1616
&& curl -L https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
1717
&& echo 'redis' >> /usr/src/php-available-exts \
1818
&& docker-php-ext-install redis
19+
20+
USER root
1921

20-
CMD ["php-fpm", "-y", "/usr/local/etc/php-fpm.conf", "-R"]
22+
CMD ["php-fpm", "-y", "/usr/local/etc/php-fpm.conf", "-R"]

0 commit comments

Comments
 (0)