Skip to content

Commit abaa554

Browse files
committed
Add COMPOSER_ALLOW_SUPERUSER
1 parent fbaa820 commit abaa554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN docker-php-ext-configure gd \
3030

3131
# Install composer
3232
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
33+
ENV COMPOSER_ALLOW_SUPERUSER=1
3334

3435
# PHP Config
3536
COPY conf/*.ini /usr/local/etc/php/conf.d/
@@ -49,4 +50,4 @@ VOLUME /srv
4950
VOLUME /usr/local/etc/php/conf.d/
5051

5152
# UTF-8 default
52-
ENV LANG en_US.utf8
53+
ENV LANG=en_US.utf8

0 commit comments

Comments
 (0)