forked from hyperf/hyperf-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e76fcfd
commit 9ced4cd
Showing
7 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,13 @@ FROM hyperf/hyperf:7.3-alpine-v${ALPINE_VERSION}-base | |
LABEL maintainer="Hyperf Developers <[email protected]>" version="1.0" license="MIT" | ||
|
||
ARG SW_VERSION | ||
ARG COMPOSER_VERSION | ||
|
||
## | ||
# ---------- env settings ---------- | ||
## | ||
ENV SW_VERSION=${SW_VERSION:-"4.5.2"} \ | ||
COMPOSER_VERSION=${COMPOSER_VERSION:-"2.0.2"} \ | ||
# install and remove building packages | ||
PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make php7-dev php7-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake" | ||
|
||
|
@@ -47,7 +49,7 @@ RUN set -ex \ | |
&& echo "swoole.use_shortname = 'Off'" >> /etc/php7/conf.d/50_swoole.ini \ | ||
# install composer | ||
&& cd /tmp \ | ||
&& wget https://github.com/composer/composer/releases/download/1.10.15/composer.phar \ | ||
&& wget https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \ | ||
&& chmod u+x composer.phar \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
# php info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,13 @@ FROM hyperf/hyperf:7.3-alpine-v${ALPINE_VERSION}-base | |
LABEL maintainer="Hyperf Developers <[email protected]>" version="1.0" license="MIT" | ||
|
||
ARG SW_VERSION | ||
ARG COMPOSER_VERSION | ||
|
||
## | ||
# ---------- env settings ---------- | ||
## | ||
ENV SW_VERSION=${SW_VERSION:-"develop"} \ | ||
COMPOSER_VERSION=${COMPOSER_VERSION:-"2.0.2"} \ | ||
# install and remove building packages | ||
PHPIZE_DEPS="autoconf automake gcc g++ make php7-dev php7-pear file re2c" | ||
|
||
|
@@ -46,7 +48,7 @@ RUN set -ex \ | |
&& echo "extension=swow.so" > /etc/php7/conf.d/50_swow.ini \ | ||
# install composer | ||
&& cd /tmp \ | ||
&& wget https://github.com/composer/composer/releases/download/1.10.15/composer.phar \ | ||
&& wget https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \ | ||
&& chmod u+x composer.phar \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
# php info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,13 @@ FROM hyperf/hyperf:7.4-alpine-v${ALPINE_VERSION}-base | |
LABEL maintainer="Hyperf Developers <[email protected]>" version="1.0" license="MIT" | ||
|
||
ARG SW_VERSION | ||
ARG COMPOSER_VERSION | ||
|
||
## | ||
# ---------- env settings ---------- | ||
## | ||
ENV SW_VERSION=${SW_VERSION:-"4.5.2"} \ | ||
COMPOSER_VERSION=${COMPOSER_VERSION:-"2.0.2"} \ | ||
# install and remove building packages | ||
PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make php7-dev php7-pear pkgconf re2c pcre-dev pcre2-dev zlib-dev libtool automake" | ||
|
||
|
@@ -47,7 +49,7 @@ RUN set -ex \ | |
&& echo "swoole.use_shortname = 'Off'" >> /etc/php7/conf.d/50_swoole.ini \ | ||
# install composer | ||
&& cd /tmp \ | ||
&& wget https://github.com/composer/composer/releases/download/1.10.15/composer.phar \ | ||
&& wget https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \ | ||
&& chmod u+x composer.phar \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
# php info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,13 @@ FROM hyperf/hyperf:7.4-alpine-v${ALPINE_VERSION}-base | |
LABEL maintainer="Hyperf Developers <[email protected]>" version="1.0" license="MIT" | ||
|
||
ARG SW_VERSION | ||
ARG COMPOSER_VERSION | ||
|
||
## | ||
# ---------- env settings ---------- | ||
## | ||
ENV SW_VERSION=${SW_VERSION:-"develop"} \ | ||
COMPOSER_VERSION=${COMPOSER_VERSION:-"2.0.2"} \ | ||
# install and remove building packages | ||
PHPIZE_DEPS="autoconf automake gcc g++ make php7-dev php7-pear file re2c" | ||
|
||
|
@@ -46,7 +48,7 @@ RUN set -ex \ | |
&& echo "extension=swow.so" > /etc/php7/conf.d/50_swow.ini \ | ||
# install composer | ||
&& cd /tmp \ | ||
&& wget https://github.com/composer/composer/releases/download/1.10.15/composer.phar \ | ||
&& wget https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \ | ||
&& chmod u+x composer.phar \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
# php info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters