Skip to content

Commit ea826c8

Browse files
committed
chore(docker): allow composer to run as root
1 parent 1e85d97 commit ea826c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM ushahidi/php-fpm-nginx:php-7.4
22
LABEL org.opencontainers.image.source="https://github.com/ushahidi/platform"
33

4+
# TODO: non-root user container setup
5+
ENV COMPOSER_ALLOW_SUPERUSER=1
6+
47
COPY docker-php-ext-enable /usr/local/bin/
58
RUN apt-get update
69
RUN apt-get install -y php-pear php${PHP_MAJOR_VERSION}-dev

0 commit comments

Comments
 (0)