This repository was archived by the owner on Aug 13, 2024. It is now read-only.
File tree 7 files changed +7
-0
lines changed
7 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php7.0-pgsql php7.0-imap php-memcached php7.0-mbstring php7.0-xml php7.0-curl php7.0-redis php7.0-soap php7.0-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php7.0 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php7.1-pgsql php7.1-imap php-memcached php7.1-mbstring php7.1-xml php7.1-curl php7.1-redis php7.1-soap php7.1-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php7.1 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php7.2-pgsql php7.2-imap php-memcached php7.2-mbstring php7.2-xml php7.2-curl php7.2-redis php7.2-soap php7.2-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php7.2 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php7.3-pgsql php7.3-imap php-memcached php7.3-mbstring php7.3-xml php7.3-curl php7.3-redis php7.3-soap php7.3-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php7.3 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php7.4-pgsql php7.4-imap php-memcached php7.4-mbstring php7.4-xml php7.4-curl php7.4-redis php7.4-soap php7.4-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php7.4 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php8.0-pgsql php8.0-imap php-memcached php8.0-mbstring php8.0-xml php8.0-curl php8.0-redis php8.0-soap php8.0-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php8.0 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN apt-get update \
19
19
php8.1-pgsql php8.1-imap php-memcached php8.1-mbstring php8.1-xml php8.1-curl php8.1-redis php8.1-soap php8.1-mailparse \
20
20
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
21
21
&& mkdir /run/php \
22
+ && update-alternatives --install /usr/bin/php php /usr/bin/php8.1 100 \
22
23
&& apt-get remove -y --purge software-properties-common \
23
24
&& apt-get clean \
24
25
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
You can’t perform that action at this time.
0 commit comments