Commit ab0941e 1 parent efb3f67 commit ab0941e Copy full SHA for ab0941e
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
14
14
RUN apt-get update \
15
- && apt-get install -y tzdata \
15
+ && apt-get install -y tzdata curl \
16
16
&& ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
17
17
&& dpkg-reconfigure -f noninteractive tzdata
18
18
@@ -21,7 +21,10 @@ RUN apt-get update \
21
21
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
22
22
23
23
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
25
28
RUN install-php-extensions $PHP_EXTENSIONS
26
29
27
30
You can’t perform that action at this time.
0 commit comments