-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
467 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
FROM ubuntu:jammy-20240911.1 | ||
|
||
LABEL maintainer="Ralf Geschke <ralf@kuerbis.org>" | ||
|
||
LABEL last_changed="2024-09-27" | ||
|
||
# necessary to set default timezone Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install PHP 8.1 with some libraries from sury PPA | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get install -y ca-certificates \ | ||
&& apt-get install -y --no-install-recommends \ | ||
&& apt-get install -y locales software-properties-common \ | ||
&& add-apt-repository -y ppa:ondrej/php \ | ||
&& apt-get update \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ | ||
&& apt-get install -y git ssmtp wget \ | ||
&& apt-get install -y php8.1-fpm \ | ||
php8.1-curl php8.1-mysql php8.1-intl \ | ||
php8.1-mbstring php8.1-bz2 php8.1-pgsql php8.1-xml php8.1-xsl php8.1-sqlite3 \ | ||
php8.1-opcache php8.1-zip php8.1-gd php8.1-redis php8.1-memcache php8.1-memcached \ | ||
php8.1-mongodb php8.1-mcrypt php8.1-bcmath php8.1-protobuf php8.1-imagick \ | ||
&& apt-get -y upgrade \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#\ | ||
# && cp /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
# php-recode | ||
|
||
ENV LANG=en_US.utf8 | ||
|
||
# Install composer | ||
COPY install-composer.sh /tmp | ||
RUN cd /tmp/ \ | ||
&& sh install-composer.sh \ | ||
&& mv /tmp/composer.phar /usr/local/bin/composer \ | ||
&& rm install-composer.sh | ||
|
||
# taken from official Docker PHP image | ||
RUN set -ex \ | ||
&& cd /etc/php/8.1/fpm \ | ||
&& mkdir /run/php \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'error_log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo '; if we send this to /proc/self/fd/1, it never appears'; \ | ||
echo 'access.log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo 'clear_env = no'; \ | ||
echo; \ | ||
echo '; Ensure worker stdout and stderr are sent to the main error log.'; \ | ||
echo 'catch_workers_output = yes'; \ | ||
} | tee pool.d/docker.conf \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'daemonize = no'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo 'listen = [::]:9000'; \ | ||
} | tee pool.d/zz-docker.conf | ||
|
||
|
||
WORKDIR /usr/share/nginx/html | ||
|
||
EXPOSE 9000 | ||
|
||
CMD ["php-fpm8.1"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
FROM ubuntu:jammy-20240911.1 | ||
|
||
LABEL maintainer="Ralf Geschke <ralf@kuerbis.org>" | ||
|
||
LABEL last_changed="2024-09-27" | ||
|
||
# necessary to set default timezone Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install PHP 8.3 with some libraries from sury PPA | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get install -y ca-certificates \ | ||
&& apt-get install -y --no-install-recommends \ | ||
&& apt-get install -y locales software-properties-common \ | ||
&& add-apt-repository -y ppa:ondrej/php \ | ||
&& apt-get update \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ | ||
&& apt-get install -y git ssmtp wget \ | ||
&& apt-get install -y php8.3-fpm \ | ||
php8.3-curl php8.3-mysql php8.3-intl \ | ||
php8.3-mbstring php8.3-bz2 php8.3-pgsql php8.3-xml php8.3-xsl php8.3-sqlite3 \ | ||
php8.3-opcache php8.3-zip php8.3-gd php8.3-redis php8.3-memcache php8.3-memcached \ | ||
php8.3-mongodb php8.3-mcrypt php8.3-bcmath php8.3-protobuf php8.3-imagick \ | ||
&& apt-get -y upgrade \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#\ | ||
# && cp /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
# php-recode | ||
|
||
ENV LANG=en_US.utf8 | ||
|
||
# Install composer | ||
COPY install-composer.sh /tmp | ||
RUN cd /tmp/ \ | ||
&& sh install-composer.sh \ | ||
&& mv /tmp/composer.phar /usr/local/bin/composer \ | ||
&& rm install-composer.sh | ||
|
||
# taken from official Docker PHP image | ||
RUN set -ex \ | ||
&& cd /etc/php/8.3/fpm \ | ||
&& mkdir /run/php \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'error_log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo '; if we send this to /proc/self/fd/1, it never appears'; \ | ||
echo 'access.log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo 'clear_env = no'; \ | ||
echo; \ | ||
echo '; Ensure worker stdout and stderr are sent to the main error log.'; \ | ||
echo 'catch_workers_output = yes'; \ | ||
} | tee pool.d/docker.conf \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'daemonize = no'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo 'listen = [::]:9000'; \ | ||
} | tee pool.d/zz-docker.conf | ||
|
||
|
||
WORKDIR /usr/share/nginx/html | ||
|
||
EXPOSE 9000 | ||
|
||
CMD ["php-fpm8.3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
FROM ubuntu:noble-20240827.1 | ||
|
||
LABEL maintainer="Ralf Geschke <ralf@kuerbis.org>" | ||
|
||
LABEL last_changed="2024-10-01" | ||
|
||
# necessary to set default timezone Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install PHP 8.3 with some libraries from sury PPA | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get install -y ca-certificates \ | ||
&& apt-get install -y --no-install-recommends \ | ||
&& apt-get install -y locales software-properties-common \ | ||
&& add-apt-repository -y ppa:ondrej/php \ | ||
&& apt-get update \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ | ||
&& apt-get install -y git ssmtp wget \ | ||
&& apt-get install -y php8.3-fpm \ | ||
php8.3-curl php8.3-mysql php8.3-intl \ | ||
php8.3-mbstring php8.3-bz2 php8.3-pgsql php8.3-xml php8.3-xsl php8.3-sqlite3 \ | ||
php8.3-opcache php8.3-zip php8.3-gd php8.3-redis php8.3-memcache php8.3-memcached \ | ||
php8.3-mongodb php8.3-mcrypt php8.3-bcmath php8.3-protobuf php8.3-imagick \ | ||
&& apt-get -y upgrade \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#\ | ||
# && cp /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
# php-recode | ||
|
||
ENV LANG=en_US.utf8 | ||
|
||
# Install composer | ||
COPY install-composer.sh /tmp | ||
RUN cd /tmp/ \ | ||
&& sh install-composer.sh \ | ||
&& mv /tmp/composer.phar /usr/local/bin/composer \ | ||
&& rm install-composer.sh | ||
|
||
# taken from official Docker PHP image | ||
RUN set -ex \ | ||
&& cd /etc/php/8.3/fpm \ | ||
&& mkdir -p /run/php \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'error_log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo '; if we send this to /proc/self/fd/1, it never appears'; \ | ||
echo 'access.log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo 'clear_env = no'; \ | ||
echo; \ | ||
echo '; Ensure worker stdout and stderr are sent to the main error log.'; \ | ||
echo 'catch_workers_output = yes'; \ | ||
} | tee pool.d/docker.conf \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'daemonize = no'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo 'listen = [::]:9000'; \ | ||
} | tee pool.d/zz-docker.conf | ||
|
||
|
||
WORKDIR /usr/share/nginx/html | ||
|
||
EXPOSE 9000 | ||
|
||
CMD ["php-fpm8.3"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
FROM ubuntu:noble-20240827.1 | ||
|
||
LABEL maintainer="Ralf Geschke <ralf@kuerbis.org>" | ||
|
||
LABEL last_changed="2024-10-01" | ||
|
||
# necessary to set default timezone Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install PHP 8.2 with some libraries from sury PPA | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y dist-upgrade \ | ||
&& apt-get install -y ca-certificates \ | ||
&& apt-get install -y --no-install-recommends \ | ||
&& apt-get install -y locales software-properties-common \ | ||
&& add-apt-repository -y ppa:ondrej/php \ | ||
&& apt-get update \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \ | ||
&& apt-get install -y git ssmtp wget \ | ||
&& apt-get install -y php8.2-fpm \ | ||
php8.2-curl php8.2-mysql php8.2-intl \ | ||
php8.2-mbstring php8.2-bz2 php8.2-pgsql php8.2-xml php8.2-xsl php8.2-sqlite3 \ | ||
php8.2-opcache php8.2-zip php8.2-gd php8.2-redis php8.2-memcache php8.2-memcached \ | ||
php8.2-mongodb php8.2-mcrypt php8.2-bcmath php8.2-protobuf php8.2-imagick \ | ||
&& apt-get -y upgrade \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
#\ | ||
# && cp /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
# php-recode | ||
|
||
ENV LANG=en_US.utf8 | ||
|
||
# Install composer | ||
COPY install-composer.sh /tmp | ||
RUN cd /tmp/ \ | ||
&& sh install-composer.sh \ | ||
&& mv /tmp/composer.phar /usr/local/bin/composer \ | ||
&& rm install-composer.sh | ||
|
||
# taken from official Docker PHP image | ||
RUN set -ex \ | ||
&& cd /etc/php/8.2/fpm \ | ||
&& mkdir -p /run/php \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'error_log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo '; if we send this to /proc/self/fd/1, it never appears'; \ | ||
echo 'access.log = /proc/self/fd/2'; \ | ||
echo; \ | ||
echo 'clear_env = no'; \ | ||
echo; \ | ||
echo '; Ensure worker stdout and stderr are sent to the main error log.'; \ | ||
echo 'catch_workers_output = yes'; \ | ||
} | tee pool.d/docker.conf \ | ||
&& { \ | ||
echo '[global]'; \ | ||
echo 'daemonize = no'; \ | ||
echo; \ | ||
echo '[www]'; \ | ||
echo 'listen = [::]:9000'; \ | ||
} | tee pool.d/zz-docker.conf | ||
|
||
|
||
WORKDIR /usr/share/nginx/html | ||
|
||
EXPOSE 9000 | ||
|
||
CMD ["php-fpm8.2"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
Oops, something went wrong.