File tree 3 files changed +51
-0
lines changed
3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM alpine:3.13
2
+
3
+ LABEL maintainer="
[email protected] "
4
+
5
+ RUN apk -U upgrade && apk add --no-cache \
6
+ curl \
7
+ nginx \
8
+ php7-fpm \
9
+ tzdata \
10
+ && ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm \
11
+ && addgroup -S php \
12
+ && adduser -S -G php php \
13
+ && rm -rf /var/cache/apk/* /etc/nginx/conf.d/* /etc/php7/conf.d/* /etc/php7/php-fpm.d/*
14
+
15
+ COPY files/s6-overlay files/general files/php7 /
16
+
17
+ # Enable options supported by this version of PHP-FPM
18
+ RUN sed '/decorate_workers_output/s/^; //g' /etc/php7/php-fpm.conf
19
+
20
+ WORKDIR /www
21
+
22
+ ENTRYPOINT ["/init"]
23
+
24
+ EXPOSE 80
25
+
26
+ HEALTHCHECK --interval=5s --timeout=5s CMD curl -f http://127.0.0.1/php-fpm-ping || exit 1
Original file line number Diff line number Diff line change
1
+ FROM alpine:3.13
2
+
3
+ LABEL maintainer="
[email protected] "
4
+
5
+ RUN apk -U upgrade && apk add --no-cache \
6
+ curl \
7
+ nginx \
8
+ php8-fpm \
9
+ tzdata \
10
+ && ln -s /usr/sbin/php-fpm8 /usr/sbin/php-fpm \
11
+ && addgroup -S php \
12
+ && adduser -S -G php php \
13
+ && rm -rf /var/cache/apk/* /etc/nginx/conf.d/* /etc/php8/conf.d/* /etc/php8/php-fpm.d/*
14
+
15
+ COPY files/s6-overlay files/general files/php8 /
16
+
17
+ WORKDIR /www
18
+
19
+ ENTRYPOINT ["/init"]
20
+
21
+ EXPOSE 80
22
+
23
+ HEALTHCHECK --interval=5s --timeout=5s CMD curl -f http://127.0.0.1/php-fpm-ping || exit 1
Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ See the table below to see what version are currently available:
72
72
| 7.1 | Alpine Linux 3.7 | [ Alpine Linux repo] ( https://pkgs.alpinelinux.org/packages?name=php7*&branch=v3.7 ) |
73
73
| 7.2 | Alpine Linux 3.8 | [ Alpine Linux repo] ( https://pkgs.alpinelinux.org/packages?name=php7*&branch=v3.8 ) |
74
74
| 7.3 | Alpine Linux 3.10 | [ Alpine Linux repo] ( https://pkgs.alpinelinux.org/packages?name=php7*&branch=v3.10 ) |
75
+ | 7.4 | Alpine Linux 3.13 | [ Alpine Linux repo] ( https://pkgs.alpinelinux.org/packages?name=php7*&branch=v3.13 ) |
76
+ | 8.0 | Alpine Linux 3.13 | [ Alpine Linux repo] ( https://pkgs.alpinelinux.org/packages?name=php8*&branch=v3.13 ) |
75
77
| 7.4-codecasts | Alpine Linux 3.12 | [ Codecasts repo] ( https://dl.bintray.com/php-alpine/v3.12/php-7.4/x86_64/ ) |
76
78
| 8.0-codecasts | Alpine Linux 3.12 | [ Codecasts repo] ( https://dl.bintray.com/php-alpine/v3.12/php-8.0/x86_64/ ) |
77
79
You can’t perform that action at this time.
0 commit comments