Commit 69ebb68b authored by Emanuel Jacob's avatar Emanuel Jacob

Change installation of sodium (in order to update version)

parent c18e59f3
Pipeline #20990 passed with stage
in 7 minutes and 33 seconds
......@@ -7,6 +7,9 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# pool configuration
COPY shared/zz-www.conf /usr/local/etc/php-fpm.d/
# Add backports to sources.list
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
# Install packages with clean up
RUN set -ex; \
build_dependencies="autoconf dpkg-dev file g++ gcc make pkgconf re2c libcurl4-nss-dev \
......@@ -14,15 +17,15 @@ RUN set -ex; \
libxslt1-dev libfreetype6-dev libmagickwand-dev"; \
install_packages="acl gifsicle git ssmtp imagemagick graphicsmagick gsfonts jpegoptim libjpeg-turbo-progs \
libpq5 libxml2 libxslt1.1 libzip-dev mariadb-client nano pkg-config procps openssl openssh-client \
optipng rsync sudo unzip vim webp zip libsodium-dev"; \
optipng rsync sudo unzip vim webp zip"; \
apt-get update; \
apt-get install -y --no-install-recommends ${build_dependencies}; \
apt-get install -y ${install_packages}; \
pecl install xdebug redis imagick mongodb sodium; \
apt-get -t stretch-backports install -y libsodium-dev; \
pecl install xdebug redis imagick mongodb; \
docker-php-ext-enable imagick; \
docker-php-ext-enable redis; \
docker-php-ext-enable mongodb; \
docker-php-ext-enable sodium; \
docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr/; \
docker-php-ext-install -j "$(nproc)" \
bcmath \
......@@ -40,6 +43,7 @@ RUN set -ex; \
intl \
xsl \
zip \
sodium \
; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false ${build_dependencies}; \
rm -rf /var/lib/apt/lists/*; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment