File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 11FROM debian:trixie
22ARG DEBIAN_FRONTEND=noninteractive
33
4- ARG PHP_VERSION=7.4
5- ARG PYTHON_VERSION=3.13
4+ # Compilers
65ARG GPP_VERSION=12
76ARG GCC_VERSION=12
87
8+ # Languages
9+ ARG PHP_VERSION=7.4
10+ ARG PYTHON_VERSION=3.13
11+
912RUN apt-get update
1013
1114RUN apt-get install -y --no-install-recommends \
@@ -45,10 +48,11 @@ RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
4548
4649# Composer
4750RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
48- && php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'.PHP_EOL; } else { echo 'Installer corrupt'.PHP_EOL; unlink('composer-setup.php'); exit(1); }" \
49- && php composer-setup.php --install-dir=/usr/bin --version=2.8.10 --filename=composer \
50- && php -r "unlink('composer-setup.php');"
51+ && php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'.PHP_EOL; } else { echo 'Installer corrupt'.PHP_EOL; unlink('composer-setup.php'); exit(1); }" \
52+ && php composer-setup.php --install-dir=/usr/bin --version=2.8.10 --filename=composer \
53+ && php -r "unlink('composer-setup.php');"
5154
52- RUN rm -rf /var/lib/apt/lists/*
55+ RUN rm -rf /var/lib/apt/lists/* \
56+ && rm -rf /tmp/*
5357
5458RUN useradd -ms /bin/bash kitten
You can’t perform that action at this time.
0 commit comments