refactored Dockerfile
This commit is contained in:
parent
21eacb8a63
commit
198b6e02b2
1 changed files with 3 additions and 1 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue