init
This commit is contained in:
commit
541f6fa6ab
5
DockerfileApache81
Normal file
5
DockerfileApache81
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM php:8.1-apache
|
||||||
|
|
||||||
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
RUN install-php-extensions @composer opcache pdo_mysql pdo_pgsql
|
5
DockerfileFPM81
Normal file
5
DockerfileFPM81
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM php:8.1-fpm-alpine
|
||||||
|
|
||||||
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
RUN install-php-extensions @composer opcache pdo_mysql pdo_pgsql
|
7
DockerfileQA81
Normal file
7
DockerfileQA81
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM php:8.1-alpine
|
||||||
|
|
||||||
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
RUN install-php-extensions @composer opcache pdo_mysql pdo_pgsql redis zip sockets pcov
|
||||||
|
|
||||||
|
RUN echo "memory_limit=-1" >> $PHP_INI_DIR/php.ini
|
5
DockerfileSwoole81
Normal file
5
DockerfileSwoole81
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM php:8.1-alpine
|
||||||
|
|
||||||
|
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
|
RUN install-php-extensions @composer opcache pdo_mysql pdo_pgsql pcntl openswoole
|
35
README.md
Normal file
35
README.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Docker Build Commands
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t adr1enbe4udou1n/php-qa:8.0 -f DockerfileQA80 .
|
||||||
|
docker tag adr1enbe4udou1n/php-qa:8.0 registry.okami101.io/adr1enbe4udou1n/php-qa:8.0
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-qa:8.0
|
||||||
|
|
||||||
|
docker build -t adr1enbe4udou1n/php-qa:8.1 -f DockerfileQA81 .
|
||||||
|
docker tag adr1enbe4udou1n/php-qa:8.1 registry.okami101.io/adr1enbe4udou1n/php-qa:8.1
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-qa:8.1
|
||||||
|
|
||||||
|
docker tag adr1enbe4udou1n/php-qa:8.1 registry.okami101.io/adr1enbe4udou1n/php-qa:latest
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-qa:latest
|
||||||
|
|
||||||
|
docker build -t adr1enbe4udou1n/php-apache:8.1 -f DockerfileApache81 .
|
||||||
|
docker tag adr1enbe4udou1n/php-apache:8.1 registry.okami101.io/adr1enbe4udou1n/php-apache:8.1
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-apache:8.1
|
||||||
|
|
||||||
|
docker tag adr1enbe4udou1n/php-apache:8.1 registry.okami101.io/adr1enbe4udou1n/php-apache:latest
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-apache:latest
|
||||||
|
|
||||||
|
docker build -t adr1enbe4udou1n/php-fpm:8.1 -f DockerfileFPM81 .
|
||||||
|
docker tag adr1enbe4udou1n/php-fpm:8.1 registry.okami101.io/adr1enbe4udou1n/php-fpm:8.1
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-fpm:8.1
|
||||||
|
|
||||||
|
docker tag adr1enbe4udou1n/php-fpm:8.1 registry.okami101.io/adr1enbe4udou1n/php-fpm:latest
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-fpm:latest
|
||||||
|
|
||||||
|
docker build -t adr1enbe4udou1n/php-swoole:8.1 -f DockerfileSwoole81 .
|
||||||
|
docker tag adr1enbe4udou1n/php-swoole:8.1 registry.okami101.io/adr1enbe4udou1n/php-swoole:8.1
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-swoole:8.1
|
||||||
|
|
||||||
|
docker tag adr1enbe4udou1n/php-swoole:8.1 registry.okami101.io/adr1enbe4udou1n/php-swoole:latest
|
||||||
|
docker push registry.okami101.io/adr1enbe4udou1n/php-swoole:latest
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user