File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## How to build local
22
33``` shell
4- export PHP_VERSION=8.1 && export ALPINE_VERSION=3.18 && export SW_VERSION=5.0.3 && export COMPOSER_VERSION=2.6.4 && export PHP_BUILD_VERSION=81 && docker-compose build alpine-swoole
4+ export PHP_VERSION=8.4 && export ALPINE_VERSION=edge && export SW_VERSION=v6.2.1 && export COMPOSER_VERSION=2.9.8 && export PHP_BUILD_VERSION=84 && docker-compose build alpine-swoole
5+
56export PHP_VERSION=8.1 && export ALPINE_VERSION=3.18 && docker-compose build alpine-base
67```
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ RUN set -ex \
5555 && wget -nv -O /usr/local/bin/composer https://github.com/composer/composer/releases/download/${COMPOSER_VERSION}/composer.phar \
5656 && chmod u+x /usr/local/bin/composer \
5757 # ---------- clear works ----------
58+ && [ ! -f /usr/bin/php ] && cp /usr/bin/php${PHP_BUILD_VERSION} /usr/bin/php \
5859 && apk del .build-deps \
5960 && rm -rf /var/cache/apk/* /tmp/* /usr/share/man /usr/local/bin/php* \
6061 # php info
You can’t perform that action at this time.
0 commit comments