Add git unzip and zip to images

This commit is contained in:
Magnus Walbeck 2021-03-20 17:30:02 +01:00
parent 3ebc96febd
commit f2fbb030b4
Signed by: mwalbeck
GPG key ID: CCB78CFF3F950769
4 changed files with 40 additions and 8 deletions
1.10-php7.4
1.10-php8.0
2.0-php7.4
2.0-php8.0

View file

@ -7,7 +7,13 @@ ENV COMPOSER_VERSION 1.10.20
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
RUN curl -o /tmp/composer-installer.php \
RUN apt-get update; \
apt-get install -y --no-install-recommends \
git \
unzip \
zip \
; \
curl -o /tmp/composer-installer.php \
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
\
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
@ -15,7 +21,9 @@ RUN curl -o /tmp/composer-installer.php \
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
\
composer diagnose; \
rm -f /tmp/composer-installer.php;
rm -f /tmp/composer-installer.php; \
\
rm -rf /var/lib/apt/lists/*;
WORKDIR /tmp

View file

@ -7,7 +7,13 @@ ENV COMPOSER_VERSION 1.10.20
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
RUN curl -o /tmp/composer-installer.php \
RUN apt-get update; \
apt-get install -y --no-install-recommends \
git \
unzip \
zip \
; \
curl -o /tmp/composer-installer.php \
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
\
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
@ -15,7 +21,9 @@ RUN curl -o /tmp/composer-installer.php \
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
\
composer diagnose; \
rm -f /tmp/composer-installer.php;
rm -f /tmp/composer-installer.php; \
\
rm -rf /var/lib/apt/lists/*;
WORKDIR /tmp

View file

@ -7,7 +7,13 @@ ENV COMPOSER_VERSION 2.0.11
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
RUN curl -o /tmp/composer-installer.php \
RUN apt-get update; \
apt-get install -y --no-install-recommends \
git \
unzip \
zip \
; \
curl -o /tmp/composer-installer.php \
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
\
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
@ -15,7 +21,9 @@ RUN curl -o /tmp/composer-installer.php \
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
\
composer diagnose; \
rm -f /tmp/composer-installer.php;
rm -f /tmp/composer-installer.php; \
\
rm -rf /var/lib/apt/lists/*;
WORKDIR /tmp

View file

@ -7,7 +7,13 @@ ENV COMPOSER_VERSION 2.0.11
ENV COMPOSER_INSTALLER_COMMIT 459bcaab2cc03f1656dd7b065d500d0cf3070e3f
ENV COMPOSER_INSTALLER_HASH 756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3
RUN curl -o /tmp/composer-installer.php \
RUN apt-get update; \
apt-get install -y --no-install-recommends \
git \
unzip \
zip \
; \
curl -o /tmp/composer-installer.php \
https://raw.githubusercontent.com/composer/getcomposer.org/${COMPOSER_INSTALLER_COMMIT}/web/installer; \
\
echo "${COMPOSER_INSTALLER_HASH} /tmp/composer-installer.php" | sha384sum -c -; \
@ -15,7 +21,9 @@ RUN curl -o /tmp/composer-installer.php \
php /tmp/composer-installer.php --no-ansi --install-dir=/usr/bin --filename=composer --version=${COMPOSER_VERSION}; \
\
composer diagnose; \
rm -f /tmp/composer-installer.php;
rm -f /tmp/composer-installer.php; \
\
rm -rf /var/lib/apt/lists/*;
WORKDIR /tmp