Skip to content

Commit 1908a2a

Browse files
committed
rm -rf /tmp
1 parent 53eccc6 commit 1908a2a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/Dockerfile.trixie

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
FROM debian:trixie
22
ARG DEBIAN_FRONTEND=noninteractive
33

4-
ARG PHP_VERSION=7.4
5-
ARG PYTHON_VERSION=3.13
4+
# Compilers
65
ARG GPP_VERSION=12
76
ARG GCC_VERSION=12
87

8+
# Languages
9+
ARG PHP_VERSION=7.4
10+
ARG PYTHON_VERSION=3.13
11+
912
RUN apt-get update
1013

1114
RUN 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
4750
RUN 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

5458
RUN useradd -ms /bin/bash kitten

0 commit comments

Comments
 (0)