Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion php/7.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ RUN apt-get update && apt-get install -y \
zip \
procps \
sudo \
wget \
&& rm -rf /var/lib/apt/lists/*

RUN wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
RUN tar xvzf LATEST.tar.gz
RUN cd libsodium-stable && \
./configure && \
make && make check && \
make install

RUN docker-php-ext-configure \
gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/

Expand All @@ -32,7 +40,8 @@ RUN docker-php-ext-install \
pdo_mysql \
soap \
xsl \
zip
zip \
sodium

RUN docker-php-ext-enable sodium

Expand Down