Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(dockerimage): php bin link is already there
Browse files Browse the repository at this point in the history
  • Loading branch information
byteplow committed Dec 14, 2021
1 parent 804fe28 commit 0e87cf3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/dockerimage/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ RUN apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/main n
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing gnu-libiconv
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php

RUN if [ ${ALPINE_PHP_PACKAGE} == "php8" ]; then ln -s /usr/bin/php8 /usr/bin/php; fi
RUN if [ ${ALPINE_PHP_PACKAGE} == "php8" ]; then ln -s /usr/sbin/php-fpm8 /usr/sbin/php-fpm; else ln -s /usr/sbin/php-fpm7 /usr/sbin/php-fpm; fi
RUN if [ ${ALPINE_PHP_PACKAGE} == "php8" ]; then ln -s /etc/php8 /etc/php; else ln -s /etc/php7 /etc/php; fi

Expand Down

0 comments on commit 0e87cf3

Please sign in to comment.