File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ LABEL maintainer="marji@morpht.com"
66LABEL org.opencontainers.image.source="https://github.com/morpht/ci-php"
77
88ENV COMPOSER_VERSION=2.6.6 \
9- COMPOSER_HASH_SHA256=72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314
9+ COMPOSER_HASH_SHA256=72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314 \
10+ PHP_MEMORY_LIMIT=128M
1011
1112RUN apk add --no-cache --update git \
1213 bash \
@@ -20,7 +21,8 @@ RUN apk add --no-cache --update git \
2021 && rm -rf /var/cache/apk/* \
2122 && curl -L -o /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
2223 && echo "$COMPOSER_HASH_SHA256 /usr/local/bin/composer" | sha256sum -c \
23- && chmod +x /usr/local/bin/composer
24+ && chmod +x /usr/local/bin/composer \
25+ && echo 'memory_limit = ${PHP_MEMORY_LIMIT}' > /usr/local/etc/php/conf.d/memory-limit.ini
2426
2527RUN adduser -D -h /home/runner -u $RUNNER_UID runner
2628
You can’t perform that action at this time.
0 commit comments