Skip to content

Commit de0c3f2

Browse files
committed
feat: CP 2.2.0 + Alpine 3.20 + PHP 8.2
1 parent 5418ae5 commit de0c3f2

File tree

3 files changed

+29
-23
lines changed

3 files changed

+29
-23
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Changelog
22

3-
## 1.7.3-rc1
3+
## 2.2.0-r1
4+
5+
* Updated to ClassicPress 2.2.0
6+
* Alpine updated to 3.20
7+
* PHP updated to 8.2
8+
9+
## 1.7.3-r1
410

511
* Updated to ClassicPress 1.7.3
612

7-
## 1.7.1-rc1
13+
## 1.7.1-r1
814

915
* **BREAKING CHANGES**:
1016

classicpress/Dockerfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM alpine:3.16
1+
FROM alpine:3.20
22

33
LABEL Maintainer="Marek Sierociński"
44
LABEL Description="ClassicPress image based on trafex/php-nginx"
55

66
# Version of ClassicPress
7-
ARG version=1.7.3
7+
ARG version=2.2.0
88
# ARG corerules_version=3.3.4
99
ARG www_dir=/var/www/html
1010

@@ -29,22 +29,22 @@ RUN apk update \
2929
bash \
3030
curl \
3131
nginx \
32-
php8 \
33-
php8-ctype \
34-
php8-curl \
35-
php8-dom \
36-
php8-fpm \
37-
php8-gd \
38-
php8-intl \
39-
php8-mbstring \
40-
php8-mysqli \
41-
php8-opcache \
42-
php8-openssl \
43-
php8-phar \
44-
php8-session \
45-
php8-xml \
46-
php8-xmlreader \
47-
php8-zlib \
32+
php82 \
33+
php82-ctype \
34+
php82-curl \
35+
php82-dom \
36+
php82-fpm \
37+
php82-gd \
38+
php82-intl \
39+
php82-mbstring \
40+
php82-mysqli \
41+
php82-opcache \
42+
php82-openssl \
43+
php82-phar \
44+
php82-session \
45+
php82-xml \
46+
php82-xmlreader \
47+
php82-zlib \
4848
supervisor
4949

5050
COPY ./ ${WORKDIR_FILES}/
@@ -55,8 +55,8 @@ RUN adduser -D -u 2048 press \
5555
&& addgroup press nginx
5656

5757
# Configure services
58-
RUN cp ${WORKDIR_FILES}/conf/php.ini /etc/php8/conf.d/custom.ini \
59-
&& cp ${WORKDIR_FILES}/conf/fpm-pool.conf /etc/php8/php-fpm.d/www.conf \
58+
RUN cp ${WORKDIR_FILES}/conf/php.ini /etc/php82/conf.d/custom.ini \
59+
&& cp ${WORKDIR_FILES}/conf/fpm-pool.conf /etc/php82/php-fpm.d/www.conf \
6060
&& cp ${WORKDIR_FILES}/conf/nginx.conf /etc/nginx/nginx.conf \
6161
&& cp ${WORKDIR_FILES}/conf/supervisord.conf /etc/supervisord.conf \
6262
&& rm -rf ${www_dir}/*

classicpress/conf/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ logfile_maxbytes=0
55
pidfile=/run/supervisord.pid
66

77
[program:php-fpm]
8-
command=php-fpm8 -F
8+
command=php-fpm82 -F
99
stdout_logfile=/dev/stdout
1010
stdout_logfile_maxbytes=0
1111
stderr_logfile=/dev/stderr

0 commit comments

Comments
 (0)