File tree Expand file tree Collapse file tree 6 files changed +42
-8
lines changed
Expand file tree Collapse file tree 6 files changed +42
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM php:7.3-alpine
22
33COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
44
5- COPY --from=composer:latest /usr/ bin/composer /usr/bin/composer
5+ COPY --from=composer/composer :latest- bin /composer /usr/bin/composer
66ENV COMPOSER_ALLOW_SUPERUSER 1
77
88WORKDIR /docker
99# Workaround to keep container running
10- CMD ["tail" , "-f" , "/dev/null" ]
10+ CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM php:7.4-alpine
22
33COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
44
5- COPY --from=composer:latest /usr/ bin/composer /usr/bin/composer
5+ COPY --from=composer/composer :latest- bin /composer /usr/bin/composer
66ENV COMPOSER_ALLOW_SUPERUSER 1
77
88WORKDIR /docker
99# Workaround to keep container running
10- CMD ["tail" , "-f" , "/dev/null" ]
10+ CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change 1- FROM php:8.0.0RC2 -alpine
1+ FROM php:8.0-alpine
22
33COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
44
5- COPY --from=composer:latest /usr/ bin/composer /usr/bin/composer
5+ COPY --from=composer/composer :latest- bin /composer /usr/bin/composer
66ENV COMPOSER_ALLOW_SUPERUSER 1
77
88WORKDIR /docker
99# Workaround to keep container running
10- CMD ["tail" , "-f" , "/dev/null" ]
10+ CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change 1+ FROM php:8.1-alpine
2+
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
4+
5+ COPY --from=composer/composer:latest-bin /composer /usr/bin/composer
6+ ENV COMPOSER_ALLOW_SUPERUSER 1
7+
8+ WORKDIR /docker
9+ # Workaround to keep container running
10+ CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change 1+ FROM php:8.2.0RC5-alpine
2+
3+ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
4+
5+ COPY --from=composer/composer:latest-bin /composer /usr/bin/composer
6+ ENV COMPOSER_ALLOW_SUPERUSER 1
7+
8+ WORKDIR /docker
9+ # Workaround to keep container running
10+ CMD ["tail" , "-f" , "/dev/null" ]
Original file line number Diff line number Diff line change @@ -20,4 +20,18 @@ services:
2020 container_name : systemctl-php-8.0
2121 volumes :
2222 - .:/docker:rw
23- tty : true
23+ tty : true
24+
25+ php8.1 :
26+ build : .docker/php8.1
27+ container_name : systemctl-php-8.1
28+ volumes :
29+ - .:/docker:rw
30+ tty : true
31+
32+ php8.2 :
33+ build : .docker/php8.2
34+ container_name : systemctl-php-8.2
35+ volumes :
36+ - .:/docker:rw
37+ tty : true
You can’t perform that action at this time.
0 commit comments