1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

refactored Dockerfile

This commit is contained in:
hack3r-0m 2020-10-23 17:46:51 +00:00
parent 21eacb8a63
commit 198b6e02b2

View file

@ -34,6 +34,8 @@ RUN \
RUN docker-php-ext-install sockets
# install C extension for .mmdb reader
# https://github.com/maxmind/libmaxminddb
RUN wget https://github.com/maxmind/libmaxminddb/releases/download/1.4.3/libmaxminddb-1.4.3.tar.gz
RUN tar -xvf libmaxminddb-1.4.3.tar.gz && \
cd ./libmaxminddb-1.4.3 && \
@ -43,7 +45,6 @@ RUN tar -xvf libmaxminddb-1.4.3.tar.gz && \
make install && \
ldconfig ./libmaxminddb-1.4.3
RUN \
# Redis Extension
wget -q https://github.com/phpredis/phpredis/archive/$PHP_REDIS_VERSION.tar.gz && \
@ -151,6 +152,7 @@ RUN \
zlib-dev \
brotli-dev
# Enabling C extension for .mmdb reader and adding loading it
RUN apk add libmaxminddb-dev && \
cd vendor/maxmind-db/reader/ext && ls -a && \
phpize && \