File tree 2 files changed +2652
-5
lines changed
2 files changed +2652
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN apk add -U --no-cache \
23
23
tar \
24
24
xz \
25
25
git \
26
- libressl \
26
+ openssl \
27
27
openssh
28
28
29
29
# ensure www-data user exists
@@ -64,7 +64,7 @@ RUN set -eux; \
64
64
\
65
65
mkdir -p /usr/src; \
66
66
cd /usr/src; \
67
- \
67
+ \
68
68
curl -fsSL -o php.tar.xz "$PHP_URL" ; \
69
69
\
70
70
if [ -n "$PHP_SHA256" ]; then \
@@ -93,9 +93,9 @@ RUN set -eux; \
93
93
coreutils \
94
94
curl-dev \
95
95
libedit-dev \
96
- libressl-dev \
97
96
libsodium-dev \
98
97
libxml2-dev \
98
+ openssl-dev \
99
99
linux-headers \
100
100
libzip-dev \
101
101
oniguruma-dev \
@@ -108,8 +108,15 @@ RUN set -eux; \
108
108
CPPFLAGS="$PHP_CPPFLAGS" \
109
109
LDFLAGS="$PHP_LDFLAGS" \
110
110
; \
111
- docker-php-source extract; \
112
- cd /usr/src/php; \
111
+ docker-php-source extract
112
+
113
+ WORKDIR /usr/src/php
114
+
115
+ RUN apk add patch
116
+
117
+ COPY files/php-7.4.26-openssl3.patch /usr/src
118
+
119
+ RUN patch -p1 < ../php-7.4.26-openssl3.patch; \
113
120
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" ; \
114
121
./configure \
115
122
--build="$gnuArch" \
You can’t perform that action at this time.
0 commit comments