Skip to content

Commit ac1907c

Browse files
committed
fix PHP versions
1 parent 247e832 commit ac1907c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
if: "${{ steps.query_tag.outputs.run_build == 'true' && steps.generate_tag.outputs.full_tag != '' }}"
113113
run: |
114114
echo "build docker image ${{ matrix.directory }} ${{ env.IMAGE_NAME }} here... with tag ${{ steps.generate_tag.outputs.full_tag }} "
115-
echo "set to latest tag? ${{ matrix.setlatest }} / ${{ matrix.setlatest == true }} - ${{ steps.query_tag.outputs.run_build }} / ${{ steps.query_tag.outputs.run_build == 'true' }} full check: ${{ matrix.setlatest == 'true' && steps.query_tag.outputs.run_build == 'true' }}"
115+
echo "set to latest tag? ${{ matrix.setlatest }} / ${{ matrix.setlatest == true }} - ${{ steps.query_tag.outputs.run_build }} / ${{ steps.query_tag.outputs.run_build == 'true' }} full check: ${{ matrix.setlatest == true && steps.query_tag.outputs.run_build == 'true' }}"
116116
# output true or false in matrix variables is a boolean expression,
117117
# in contrast to output of steps...outputs..., this evaluates as string!
118118

ubuntu-24.04-sury-8.2/Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ FROM ubuntu:noble-20240904.1
22

33
LABEL maintainer="Ralf Geschke <ralf@kuerbis.org>"
44

5-
LABEL last_changed="2024-10-03"
5+
LABEL last_changed="2024-10-04"
66

77
# necessary to set default timezone Etc/UTC
88
ENV DEBIAN_FRONTEND=noninteractive
99

10-
# Install PHP 8.3 with some libraries from sury PPA
10+
# Install PHP 8.2 with some libraries from sury PPA
1111
RUN apt-get update \
1212
&& apt-get -y upgrade \
1313
&& apt-get -y dist-upgrade \
@@ -18,11 +18,11 @@ RUN apt-get update \
1818
&& apt-get update \
1919
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
2020
&& apt-get install -y git ssmtp wget \
21-
&& apt-get install -y php8.3-fpm \
22-
php8.3-curl php8.3-mysql php8.3-intl \
23-
php8.3-mbstring php8.3-bz2 php8.3-pgsql php8.3-xml php8.3-xsl php8.3-sqlite3 \
24-
php8.3-opcache php8.3-zip php8.3-gd php8.3-redis php8.3-memcache php8.3-memcached \
25-
php8.3-mongodb php8.3-mcrypt php8.3-bcmath php8.3-protobuf php8.3-imagick \
21+
&& apt-get install -y php8.2-fpm \
22+
php8.2-curl php8.2-mysql php8.2-intl \
23+
php8.2-mbstring php8.2-bz2 php8.2-pgsql php8.2-xml php8.2-xsl php8.2-sqlite3 \
24+
php8.2-opcache php8.2-zip php8.2-gd php8.2-redis php8.2-memcache php8.2-memcached \
25+
php8.2-mongodb php8.2-mcrypt php8.2-bcmath php8.2-protobuf php8.2-imagick \
2626
&& apt-get -y upgrade \
2727
&& rm -rf /var/lib/apt/lists/*
2828

@@ -41,7 +41,7 @@ RUN cd /tmp/ \
4141

4242
# taken from official Docker PHP image
4343
RUN set -ex \
44-
&& cd /etc/php/8.3/fpm \
44+
&& cd /etc/php/8.2/fpm \
4545
&& mkdir -p /run/php \
4646
&& { \
4747
echo '[global]'; \
@@ -69,4 +69,4 @@ WORKDIR /usr/share/nginx/html
6969

7070
EXPOSE 9000
7171

72-
CMD ["php-fpm8.3"]
72+
CMD ["php-fpm8.2"]

ubuntu-24.04-sury-8.2/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2
1+
3

0 commit comments

Comments
 (0)