diff --git a/Dockerfile b/Dockerfile index e5eaf4386..7cbccfc12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM ushahidi/php-fpm-nginx:php-7.4 LABEL org.opencontainers.image.source="https://github.com/ushahidi/platform" +# TODO: non-root user container setup +ENV COMPOSER_ALLOW_SUPERUSER=1 + COPY docker-php-ext-enable /usr/local/bin/ RUN apt-get update RUN apt-get install -y php-pear php${PHP_MAJOR_VERSION}-dev