Skip to content

Commit 3e83774

Browse files
committed
Add missing openssl-lib.
1 parent 06ea0f2 commit 3e83774

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

8.3/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ ENV XDEBUG_VERSION 3.3.1
3939
ENV MEMCACHE_VERSION 3.2.0
4040
ENV PHPREDIS_VERSION 5.3.7
4141
RUN export XDEBUG_DEPS="linux-headers" && \
42-
export PHP_EXTRA_DEPS="libxml2-dev icu-dev libmemcached-dev cyrus-sasl-dev libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev libzip-dev oniguruma-dev libwebp-dev ldb-dev libldap openldap-dev" && \
43-
export OPENSSL_LIBS="-L/usr -lssl -lcrypto -lz" && export OPENSSL_CFLAGS="-I/usr/include" && \
42+
export PHP_EXTRA_DEPS="libxml2-dev icu-dev libmemcached-dev cyrus-sasl-dev libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev libzip-dev oniguruma-dev libwebp-dev ldb-dev libldap openldap-dev openssl-dev" && \
4443
apk update && \
4544
apk add ${PHP_EXTRA_DEPS} ${PHPIZE_DEPS} ${XDEBUG_DEPS} gettext && \
4645
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include && \
4746
docker-php-ext-configure ldap && \
48-
docker-php-ext-configure ftp --with-openssl-dir && \
47+
export OPENSSL_LIBS="-L/usr -lssl -lcrypto -lz" && export OPENSSL_CFLAGS="-I/usr/include" && \
48+
docker-php-ext-configure ftp --with-openssl-dir=/usr/include/ && \
4949
docker-php-ext-install bcmath gd intl mbstring pcntl pdo pdo_mysql soap zip ldap ftp && \
5050
pecl install xdebug-${XDEBUG_VERSION} && \
5151
pecl install redis-${PHPREDIS_VERSION} && \

0 commit comments

Comments
 (0)