File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,21 +257,16 @@ RUN for v in $GO_VERSIONS; do mise install "go@${v}"; done \
257257# ## PHP ###
258258
259259ARG PHP_VERSIONS="8.5 8.4 8.3 8.2"
260- ARG COMPOSER_ALLOW_SUPERUSER=1
260+ ENV MISE_JOBS=4 MAKEFLAGS="-j4" CC="ccache gcc" CXX="ccache g++"
261+
261262RUN apt-get update && apt-get install -y --no-install-recommends \
262- autoconf=2.71-* \
263- bison=2:3.8.* \
264- libgd-dev=2.3.* \
265- libedit-dev=3.1-* \
266- libicu-dev=74.2-* \
267- libjpeg-dev=8c-* \
268- libonig-dev=6.9.* \
269- libpng-dev=1.6.* \
270- libzip-dev=1.7.* \
271- openssl=3.0.* \
272- re2c=3.1-* \
263+ build-essential pkg-config ccache \
264+ autoconf=2.71-* bison=2:3.8.* re2c=3.1-* \
265+ libgd-dev=2.3.* libedit-dev=3.1-* libicu-dev=74.2-* libjpeg-dev=8c-* \
266+ libonig-dev=6.9.* libpng-dev=1.6.* libzip-dev=1.7.* \
267+ libssl-dev zlib1g-dev libcurl4-openssl-dev libreadline-dev \
273268 && rm -rf /var/lib/apt/lists/* \
274- && for v in $PHP_VERSIONS; do mise install "php@${v} " ; done \
269+ && mise install $( for v in $PHP_VERSIONS; do printf "php@%s " "$v " ; done) \
275270 && mise use --global "php@${PHP_VERSIONS%% *}" \
276271 && mise cache clear || true \
277272 && rm -rf "$HOME/.cache/mise" "$HOME/.local/share/mise/downloads"
You can’t perform that action at this time.
0 commit comments