Skip to content

Commit e6724b2

Browse files
authored
MCLOUD-8369: Fix cache volume for composer (#82)
1 parent ccc53e3 commit e6724b2

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

images/php/7.2-cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

images/php/7.3-cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

images/php/7.4-cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

images/php/8.0-cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

images/php/8.1-cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

images/php/cli/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG COMPOSER_HOME=/composer
88
ARG CRONTAB=""
99

1010
ENV COMPOSER_MEMORY_LIMIT -1
11+
ENV COMPOSER_ALLOW_SUPERUSER ${COMPOSER_ALLOW_SUPERUSER}
12+
ENV COMPOSER_HOME ${COMPOSER_HOME}
1113
ENV PHP_MEMORY_LIMIT -1
1214
ENV PHP_VALIDATE_TIMESTAMPS 1
1315
ENV DEBUG false

0 commit comments

Comments
 (0)