Skip to content

Commit 0765cb9

Browse files
committed
Revert "Update PHP 5.6 image to Alpine 3.14"
This reverts commit 52b83d6.
1 parent 52b83d6 commit 0765cb9

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

php/Dockerfile-5.6

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.14
1+
FROM alpine:3.8
22

33
ARG PHP_VERSION=5.6
44
ARG ATATUS_VERSION=1.12.0
@@ -85,12 +85,7 @@ RUN apk add --no-cache \
8585
fcgi \
8686
nano
8787

88-
RUN apk add --repository http://dl-cdn.alpinelinux.org/alpine/v3.8/main \
89-
libressl-dev=2.7.5-r0 \
90-
readline=7.0.003-r0 \
91-
icu-libs=60.2-r3
92-
93-
RUN apk add --repository http://dl-cdn.alpinelinux.org/alpine/v3.8/community --update-cache \
88+
RUN apk add --no-cache \
9489
php5 \
9590
php5-common \
9691
php5-curl \
@@ -105,6 +100,7 @@ RUN apk add --repository http://dl-cdn.alpinelinux.org/alpine/v3.8/community --u
105100
php5-posix \
106101
php5-soap \
107102
php5-zip \
103+
php5-ldap \
108104
php5-bcmath \
109105
php5-calendar \
110106
php5-gettext \
@@ -139,7 +135,7 @@ RUN mkdir /etc/php && \
139135
ln -snf /etc/php5 /etc/php/current
140136

141137
# Imagick
142-
RUN apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.8/community autoconf php5-dev gcc make g++ zlib-dev wget imagemagick-dev && \
138+
RUN apk add --no-cache autoconf php5-dev gcc make g++ zlib-dev wget imagemagick-dev && \
143139
mkdir /imagick && cd /imagick && \
144140
wget http://pecl.php.net/get/imagick-3.4.4.tgz && \
145141
tar xzf imagick-3.4.4.tgz && cd imagick-3.4.4 && \
@@ -151,7 +147,7 @@ RUN apk add --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.
151147
RUN rm -rf /imagick
152148

153149
# Imagick support file types
154-
RUN apk add --repository http://dl-cdn.alpinelinux.org/alpine/v3.8/main --no-cache imagemagick
150+
RUN apk add --no-cache imagemagick
155151

156152
# Add php5-redis
157153
RUN apk --no-cache add ca-certificates wget && \

0 commit comments

Comments
 (0)