Skip to content

Commit ab0941e

Browse files
committed
Download install-php-extensions manually
1 parent efb3f67 commit ab0941e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

services/php82/Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212

1313

1414
RUN apt-get update \
15-
&& apt-get install -y tzdata \
15+
&& apt-get install -y tzdata curl \
1616
&& ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
1717
&& dpkg-reconfigure -f noninteractive tzdata
1818

@@ -21,7 +21,10 @@ RUN apt-get update \
2121
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
2222

2323

24-
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
24+
RUN curl -sSLf \
25+
-o /usr/local/bin/install-php-extensions \
26+
https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions
27+
RUN chmod +x /usr/local/bin/install-php-extensions
2528
RUN install-php-extensions $PHP_EXTENSIONS
2629

2730

0 commit comments

Comments
 (0)