Skip to content

Commit 1e7f2a1

Browse files
Merge branch '8.2'
2 parents a421431 + 599a346 commit 1e7f2a1

File tree

2 files changed

+52
-39
lines changed

2 files changed

+52
-39
lines changed

.github/workflows/docker-image.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ on:
55
branches: [ "7.2", "7.3", "7.4", "8.1" ]
66
pull_request:
77
branches: [ "7.2", "7.3", "7.4", "8.1" ]
8+
workflow_dispatch:
9+
inputs:
10+
logLevel:
11+
description: 'Log level'
12+
required: true
13+
default: 'warning'
14+
type: choice
15+
options:
16+
- info
17+
- warning
18+
- debug
819
schedule:
920
- cron: "0 2 * * *"
1021

Dockerfile

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.16
1+
FROM alpine:edge
22

33
# An (optional) host that relays your msgs
44
ENV RELAYHOST=
@@ -10,61 +10,63 @@ ENV RELAYHOST_PASSWORD=
1010
# (optional) Should the postfix relay use TLS
1111
ENV SMTP_USE_TLS=
1212

13-
RUN apk --no-cache add \
13+
RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ add \
1414
ca-certificates \
1515
gettext \
1616
bash \
1717
curl \
1818
rsync \
1919
sudo \
2020
git \
21+
icu-data-full \
2122
libmcrypt \
2223
nginx \
2324
supervisor \
2425
postfix \
2526
unzip \
26-
php81 \
27-
php81-bcmath \
28-
php81-ctype \
29-
php81-curl \
30-
php81-dom \
31-
php81-fpm \
32-
php81-fileinfo \
33-
php81-gd \
34-
php81-iconv \
35-
php81-intl \
36-
php81-json \
37-
php81-mbstring \
38-
php81-common \
39-
php81-mysqlnd \
40-
php81-opcache \
41-
php81-openssl \
42-
php81-pcntl \
43-
php81-pecl-lzf \
44-
php81-pecl-zstd \
45-
php81-pdo \
46-
php81-pdo_mysql \
47-
php81-phar \
48-
php81-posix \
49-
php81-redis \
50-
php81-session \
51-
php81-simplexml \
52-
php81-soap \
53-
php81-sodium \
54-
php81-sockets \
55-
php81-tokenizer \
56-
php81-xml \
57-
php81-xmlreader \
58-
php81-xmlwriter \
59-
php81-xsl \
60-
php81-zip \
27+
php82 \
28+
php82-bcmath \
29+
php82-ctype \
30+
php82-curl \
31+
php82-dom \
32+
php82-fpm \
33+
php82-fileinfo \
34+
php82-gd \
35+
php82-iconv \
36+
php82-intl \
37+
php82-json \
38+
php82-mbstring \
39+
php82-common \
40+
php82-mysqlnd \
41+
php82-opcache \
42+
php82-openssl \
43+
php82-pcntl \
44+
php82-pecl-apcu \
45+
php82-pecl-lzf \
46+
php82-pecl-zstd \
47+
php82-pdo \
48+
php82-pdo_mysql \
49+
php82-phar \
50+
php82-posix \
51+
php82-redis \
52+
php82-session \
53+
php82-simplexml \
54+
php82-soap \
55+
php82-sodium \
56+
php82-sockets \
57+
php82-tokenizer \
58+
php82-xml \
59+
php82-xmlreader \
60+
php82-xmlwriter \
61+
php82-xsl \
62+
php82-zip \
6163
&& addgroup nginx postdrop && postalias /etc/postfix/aliases && mkdir /var/log/postfix \
6264
&& sed -ie "s#include /etc/nginx/http.d/#include /etc/nginx/conf.d/#g" /etc/nginx/nginx.conf \
6365
&& postconf "smtputf8_enable = no" && postconf "maillog_file=/var/log/postfix/mail.log" \
6466
&& mkdir /var/www/html && chown nginx:nginx /var/www/html \
6567
&& ln -sf /dev/stdout /var/log/nginx/access.log \
66-
&& ln -s /usr/bin/php81 /usr/bin/php \
67-
&& ln -sf /dev/stderr /var/log/nginx/error.log
68+
&& ln -sf /dev/stderr /var/log/nginx/error.log \
69+
&& ln -s /usr/bin/php82 /usr/bin/php
6870

6971

7072
COPY conf/www.conf /etc/php81/php-fpm.d/www.conf

0 commit comments

Comments
 (0)