Commit 1797af81 authored by Emanuel Jacob's avatar Emanuel Jacob

Remove mycrypt (deprecated in php7.2), Add sodium, Add zip

parent eba3c532
......@@ -6,6 +6,12 @@ COPY php.ini /usr/local/etc/php/
# Add composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Install libsodum 1.0.17
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
RUN apt-get update && apt-get -t stretch-backports install -y \
libsodium-dev
RUN pecl install -f libsodium-1.0.17
# Install xdebug
RUN apt-get update && \
apt-get install -y autoconf dpkg dpkg-dev file g++ gcc make pkgconf re2c && \
......@@ -23,10 +29,10 @@ RUN apt-get install -y openssl
# Install Magento-specific extensions
RUN apt-get update && \
apt-get install -y git mariadb-client openssh-client libfreetype6 libpng16-16 libjpeg62-turbo gettext libmcrypt4 libxslt1.1 libicu57 && \
apt-get install -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev && \
apt-get install -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev libzip-dev zip unzip && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mcrypt mysqli pdo_mysql opcache xsl zip intl calendar && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libmcrypt-dev libxslt1-dev libicu-dev && \
docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd bcmath soap gettext mysqli pdo_mysql opcache xsl zip intl calendar && \
apt-get remove -y libfreetype6-dev libpng-dev libjpeg62-turbo-dev libxslt1-dev libicu-dev && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -my wget gnupg && \
......
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