From 2475b379d53d29fce95e612a6b62d4e77ced3ae5 Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Tue, 7 Nov 2023 19:35:51 +0330 Subject: [PATCH 1/2] 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..1e5cd21 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -31,6 +31,36 @@ jobs: short: 3 full: 3.17 + - name: php + path: php/7.4-apache + version: + short: 7-apache + full: 7.4-apache + + - name: php + path: php/7.4-fpm + version: + short: 7-fpm + full: 7.4-fpm + + - name: php + path: php/8.2-fpm + version: + short: 8-fpm + full: 8.2-fpm + + - name: wordpress + path: wordpress/php7.4 + version: + short: 6-php7 + full: 6.1-php7.4-fpm + + - name: 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." From 2d3bf2281b5fb417aba2f5dc5351a1fad965a1a1 Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Tue, 7 Nov 2023 19:44:57 +0330 Subject: [PATCH 2/2] chore: descriptions --- alpine/Dockerfile | 2 +- php/7.4-apache/Dockerfile | 2 +- php/7.4-fpm/Dockerfile | 2 +- php/8.2-fpm/Dockerfile | 2 +- wordpress/php7.4/Dockerfile | 2 +- wordpress/php8.2/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 8a7837d..2666692 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,6 +1,6 @@ FROM docker.io/library/alpine:3.17 -LABEL org.opencontainers.image.description="Minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!" +LABEL org.opencontainers.image.description "Minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!" ARG APK_TESTING RUN set -ex; \ diff --git a/php/7.4-apache/Dockerfile b/php/7.4-apache/Dockerfile index 7f524d7..3d038a0 100644 --- a/php/7.4-apache/Dockerfile +++ b/php/7.4-apache/Dockerfile @@ -1,3 +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." +LABEL org.opencontainers.image.description "The unofficial docker container image for php apache 7 packaged by Alwatr." diff --git a/php/7.4-fpm/Dockerfile b/php/7.4-fpm/Dockerfile index 7bbedb5..6f14a43 100644 --- a/php/7.4-fpm/Dockerfile +++ b/php/7.4-fpm/Dockerfile @@ -1,3 +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." +LABEL org.opencontainers.image.description "The unofficial docker container image for php fpm 7 packaged by Alwatr." diff --git a/php/8.2-fpm/Dockerfile b/php/8.2-fpm/Dockerfile index 0fe5b35..dd6c5a3 100644 --- a/php/8.2-fpm/Dockerfile +++ b/php/8.2-fpm/Dockerfile @@ -1,3 +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." +LABEL org.opencontainers.image.description "The unofficial docker container image for php fpm 8 packaged by Alwatr." diff --git a/wordpress/php7.4/Dockerfile b/wordpress/php7.4/Dockerfile index 390a9e4..4d2d056 100644 --- a/wordpress/php7.4/Dockerfile +++ b/wordpress/php7.4/Dockerfile @@ -1,3 +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." +LABEL org.opencontainers.image.description "The unofficial docker container image for wordpress 6 with php 7 packaged by Alwatr." diff --git a/wordpress/php8.2/Dockerfile b/wordpress/php8.2/Dockerfile index f6dd57e..4849bec 100644 --- a/wordpress/php8.2/Dockerfile +++ b/wordpress/php8.2/Dockerfile @@ -1,3 +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." +LABEL org.opencontainers.image.description "The unofficial docker container image for wordpress 6 with php 8 packaged by Alwatr."