parent
3ebc96febd
commit
f2fbb030b4
4 changed files with 40 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue