Skip to content

Commit fd9a606

Browse files
MCLOUD-5818: Fix for composer running out of memory in container (#197)
1 parent ea23056 commit fd9a606

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

images/php/7.1-cli/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
FROM php:7.1-cli-stretch
33
ARG GOSU_VERSION=1.11
44

5+
ENV COMPOSER_MEMORY_LIMIT -1
56
ENV PHP_MEMORY_LIMIT 2G
67
ENV MAGENTO_ROOT /app
78
ENV DEBUG false

images/php/7.2-cli/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
FROM php:7.2-cli-stretch
33
ARG GOSU_VERSION=1.11
44

5+
ENV COMPOSER_MEMORY_LIMIT -1
56
ENV PHP_MEMORY_LIMIT 2G
67
ENV MAGENTO_ROOT /app
78
ENV DEBUG false

images/php/7.3-cli/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
FROM php:7.3-cli-stretch
33
ARG GOSU_VERSION=1.11
44

5+
ENV COMPOSER_MEMORY_LIMIT -1
56
ENV PHP_MEMORY_LIMIT 2G
67
ENV MAGENTO_ROOT /app
78
ENV DEBUG false

images/php/cli/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
FROM php:{%version%}-cli-stretch
33
ARG GOSU_VERSION=1.11
44

5+
ENV COMPOSER_MEMORY_LIMIT -1
56
ENV PHP_MEMORY_LIMIT 2G
67
ENV MAGENTO_ROOT /app
78
ENV DEBUG false

0 commit comments

Comments
 (0)