Skip to content

Commit 6077c39

Browse files
committed
Get rid of composer running as root warning
1 parent ebb51f3 commit 6077c39

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

5.2/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Joeri Verdeyen <joeriv@yappa.be>
44

55
ENV DOCUMENT_ROOT /var/www/app/html
66
ENV ENVIRONMENT dev
7+
ENV COMPOSER_ALLOW_SUPERUSER 1
78

89
RUN \
910
apt-get update && \

5.3/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Joeri Verdeyen <joeriv@yappa.be>
44
ENV DOCUMENT_ROOT /var/www/app/html
55
ENV ENVIRONMENT dev
66
ENV PHP_ERROR_REPORTING E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
7+
ENV COMPOSER_ALLOW_SUPERUSER 1
78

89
RUN \
910
apt-get update && \

5.4/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Joeri Verdeyen <joeriv@yappa.be>
44

55
ENV DOCUMENT_ROOT /var/www/app/html
66
ENV ENVIRONMENT dev
7+
ENV COMPOSER_ALLOW_SUPERUSER 1
78

89
RUN \
910
apt-get update && \

5.5/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Joeri Verdeyen <joeriv@yappa.be>
44

55
ENV DOCUMENT_ROOT /var/www/app/html
66
ENV ENVIRONMENT dev
7+
ENV COMPOSER_ALLOW_SUPERUSER 1
78

89
RUN \
910
apt-get update && \

5.6/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Joeri Verdeyen <joeriv@yappa.be>
44

55
ENV DOCUMENT_ROOT /var/www/app/html
66
ENV ENVIRONMENT dev
7+
ENV COMPOSER_ALLOW_SUPERUSER 1
78

89
RUN \
910
apt-get update && \

0 commit comments

Comments
 (0)