@@ -3,29 +3,27 @@ FROM inrage/docker-php:8.3-event-fpm
33USER root
44
55RUN set -eux; \
6- apt update && apt install -y libzstd-dev liblz4-dev; \
7- apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
8- rm -rf /var/lib/apt/lists/*; \
9- pecl install igbinary; \
10- pecl install --configureoptions='enable-redis-igbinary="yes" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis; \
11- docker-php-ext-enable redis igbinary;
6+ apt update && apt install -y libzstd-dev liblz4-dev; \
7+ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
8+ rm -rf /var/lib/apt/lists/*; \
9+ pecl install igbinary; \
10+ pecl install --configureoptions='enable-redis-igbinary="yes" enable-redis-lzf="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' redis; \
11+ docker-php-ext-enable redis igbinary;
1212
1313RUN set -ex; \
14- \
15- cd /tmp; \
16- wp_cli_version="2.12.0" ; \
17- url="https://github.com/wp-cli/wp-cli/releases/download/v${wp_cli_version}/wp-cli-${wp_cli_version}.phar" ; \
18- curl -o wp.phar -fSL "${url}" ; \
19- chmod +x wp.phar; \
20- mv wp.phar /usr/local/bin/wp; \
21- \
22- url="https://raw.githubusercontent.com/wp-cli/wp-cli/v${wp_cli_version}/utils/wp-completion.bash" ; \
23- curl -o /usr/local/include/wp-completion.bash -fSL "${url}" ; \
24- chmod +x /usr/local/include/wp-completion.bash; \
25- cd /home/inr; \
26- echo "source /usr/local/include/wp-completion.bash" | tee -a .bash_profile .bashrc;
27-
28- USER inr
14+ \
15+ cd /tmp; \
16+ wp_cli_version="2.12.0" ; \
17+ url="https://github.com/wp-cli/wp-cli/releases/download/v${wp_cli_version}/wp-cli-${wp_cli_version}.phar" ; \
18+ curl -o wp.phar -fSL "${url}" ; \
19+ chmod +x wp.phar; \
20+ mv wp.phar /usr/local/bin/wp; \
21+ \
22+ url="https://raw.githubusercontent.com/wp-cli/wp-cli/v${wp_cli_version}/utils/wp-completion.bash" ; \
23+ curl -o /usr/local/include/wp-completion.bash -fSL "${url}" ; \
24+ chmod +x /usr/local/include/wp-completion.bash; \
25+ cd /home/inr; \
26+ echo "source /usr/local/include/wp-completion.bash" | tee -a .bash_profile .bashrc;
2927
3028COPY templates /etc/gotpl/
3129COPY bin /usr/local/bin
0 commit comments