From d25b069e6223bae566e7d6d466d2c2ded71491ec Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Tue, 7 Nov 2023 19:35:51 +0330 Subject: [PATCH] feat: add php & wordpress image --- .github/workflows/publish-container.yml | 30 +++++++++++++++++++++++++ php/7.4-apache/.dockerignore | 1 + php/7.4-apache/Dockerfile | 3 +++ php/7.4-fpm/.dockerignore | 1 + php/7.4-fpm/Dockerfile | 3 +++ php/8.2-fpm/.dockerignore | 1 + php/8.2-fpm/Dockerfile | 3 +++ php/README.md | 1 + wordpress/README.md | 1 + wordpress/php7.4/.dockerignore | 1 + wordpress/php7.4/Dockerfile | 3 +++ wordpress/php8.2/.dockerignore | 1 + wordpress/php8.2/Dockerfile | 3 +++ 13 files changed, 52 insertions(+) create mode 100644 php/7.4-apache/.dockerignore create mode 100644 php/7.4-apache/Dockerfile create mode 100644 php/7.4-fpm/.dockerignore create mode 100644 php/7.4-fpm/Dockerfile create mode 100644 php/8.2-fpm/.dockerignore create mode 100644 php/8.2-fpm/Dockerfile create mode 100644 php/README.md create mode 100644 wordpress/README.md create mode 100644 wordpress/php7.4/.dockerignore create mode 100644 wordpress/php7.4/Dockerfile create mode 100644 wordpress/php8.2/.dockerignore create mode 100644 wordpress/php8.2/Dockerfile diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 4e9f7ce..547d0fe 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -31,6 +31,36 @@ jobs: short: 3 full: 3.17 + - image: php + path: php/7.4-apache + version: + short: 7-apache + full: 7.4-apache + + - image: php + path: php/7.4-fpm + version: + short: 7-fpm + full: 7.4-fpm + + - image: php + path: php/8.2-fpm + version: + short: 8-fpm + full: 8.2-fpm + + - image: wordpress + path: wordpress/php7.4 + version: + short: 6-php7 + full: 6.1-php7.4-fpm + + - image: wordpress + path: wordpress/php8.2 + version: + short: 6 + full: 6.2-php8.2-fpm + permissions: contents: read packages: write diff --git a/php/7.4-apache/.dockerignore b/php/7.4-apache/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/php/7.4-apache/.dockerignore @@ -0,0 +1 @@ +* diff --git a/php/7.4-apache/Dockerfile b/php/7.4-apache/Dockerfile new file mode 100644 index 0000000..7f524d7 --- /dev/null +++ b/php/7.4-apache/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/php:7.4-apache + +LABEL org.opencontainers.image.description="The unofficial docker container image for php apache packaged by Alwatr." diff --git a/php/7.4-fpm/.dockerignore b/php/7.4-fpm/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/php/7.4-fpm/.dockerignore @@ -0,0 +1 @@ +* diff --git a/php/7.4-fpm/Dockerfile b/php/7.4-fpm/Dockerfile new file mode 100644 index 0000000..7bbedb5 --- /dev/null +++ b/php/7.4-fpm/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/library/php:7.4-fpm + +LABEL org.opencontainers.image.description="The unofficial docker container image for php fpm packaged by Alwatr." diff --git a/php/8.2-fpm/.dockerignore b/php/8.2-fpm/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/php/8.2-fpm/.dockerignore @@ -0,0 +1 @@ +* diff --git a/php/8.2-fpm/Dockerfile b/php/8.2-fpm/Dockerfile new file mode 100644 index 0000000..0fe5b35 --- /dev/null +++ b/php/8.2-fpm/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/library/php:8.2-fpm + +LABEL org.opencontainers.image.description="The unofficial docker container image for php fpm packaged by Alwatr." diff --git a/php/README.md b/php/README.md new file mode 100644 index 0000000..f0a3fbc --- /dev/null +++ b/php/README.md @@ -0,0 +1 @@ +# PHP Container Mirror diff --git a/wordpress/README.md b/wordpress/README.md new file mode 100644 index 0000000..a353265 --- /dev/null +++ b/wordpress/README.md @@ -0,0 +1 @@ +# Wordpress Container Mirror diff --git a/wordpress/php7.4/.dockerignore b/wordpress/php7.4/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/wordpress/php7.4/.dockerignore @@ -0,0 +1 @@ +* diff --git a/wordpress/php7.4/Dockerfile b/wordpress/php7.4/Dockerfile new file mode 100644 index 0000000..390a9e4 --- /dev/null +++ b/wordpress/php7.4/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/wordpress:6.1-php7.4-fpm + +LABEL org.opencontainers.image.description="The unofficial docker container image for wordpress packaged by Alwatr." diff --git a/wordpress/php8.2/.dockerignore b/wordpress/php8.2/.dockerignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/wordpress/php8.2/.dockerignore @@ -0,0 +1 @@ +* diff --git a/wordpress/php8.2/Dockerfile b/wordpress/php8.2/Dockerfile new file mode 100644 index 0000000..f6dd57e --- /dev/null +++ b/wordpress/php8.2/Dockerfile @@ -0,0 +1,3 @@ +FROM docker.io/wordpress:6.2-php8.2-fpm + +LABEL org.opencontainers.image.description="The unofficial docker container image for wordpress packaged by Alwatr."