File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ RUN apt-get update && \
2020 docker-php-ext-enable redis bcmath curl dom mbstring ssh2 && \
2121 rm -rf /var/lib/apt/lists/*
2222
23- # Install the latest Composer
23+ # Install the latest Composer (last updated: 2025-10-24)
2424RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
25- php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6 ') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL; " && \
26- php composer-setup.php --install-dir=/usr/bin/ --filename=composer && \
25+ php -r "if (hash_file('sha384', 'composer-setup.php') === 'ed0feb545ba87161262f2d45a633e34f591ebb3381f2e0063c345ebea4d228dd0043083717770234ec00c5a9f9593792 ') { echo 'Installer verified'.PHP_EOL ; } else { echo 'Installer corrupt'.PHP_EOL ; unlink('composer-setup.php'); exit(1); } " && \
26+ php composer-setup.php && \
2727 php -r "unlink('composer-setup.php');"
2828
2929# Copy our prod-ready configs in
@@ -34,4 +34,4 @@ RUN a2enmod rewrite
3434
3535# Create a non-root runtime user with group 33 (apache's www-data group)
3636RUN groupadd --force -g 33 runtime
37- RUN useradd -ms /bin/bash --no-user-group -g 33 -u 1337 runtime
37+ RUN useradd -ms /bin/bash --no-user-group -g 33 -u 1337 runtime
You can’t perform that action at this time.
0 commit comments