Skip to content

Commit 49b4faa

Browse files
committed
Handle errors during cURL downloads
1 parent e7aac4c commit 49b4faa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ FROM curlimages/curl AS phar-downloader
22

33
ARG PIE_VERSION
44

5-
RUN curl -L --output /tmp/pie https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar \
5+
RUN curl -fsSL --output /tmp/pie https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar \
66
&& chmod +x /tmp/pie \
7-
&& curl -L --output /tmp/pie.asc https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar.asc
7+
&& curl -fsSL --output /tmp/pie.asc https://github.com/php/pie/releases/download/${PIE_VERSION}/pie.phar.asc
88

99
FROM scratch AS standalone-binary
1010

0 commit comments

Comments
 (0)