Skip to content

Commit

Permalink
add redis and mongodb (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: harry.lu[呂浩宇] <[email protected]>
  • Loading branch information
Hao1995 and harry.lu[呂浩宇] committed Jan 25, 2022
1 parent 13bc6af commit 8d13026
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ RUN set -xe && \
&& \
docker-php-ext-enable \
swoole \
&& \
pecl install \
redis \
&& \
docker-php-ext-enable \
redis \
&& \
pecl install \
mongodb \
&& \
docker-php-ext-enable \
mongodb \
&& \
apt-get remove --purge -y ${BUILD_DEPS} && \
apt-get autoremove --purge -y && \
Expand Down
12 changes: 12 additions & 0 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ RUN set -xe && \
&& \
docker-php-ext-enable \
swoole \
&& \
pecl install \
redis \
&& \
docker-php-ext-enable \
redis \
&& \
pecl install \
mongodb \
&& \
docker-php-ext-enable \
mongodb \
&& \
apt-get remove --purge -y ${BUILD_DEPS} && \
apt-get autoremove --purge -y && \
Expand Down

0 comments on commit 8d13026

Please sign in to comment.