File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ RUN set -ex; \
2323 ; \
2424 \
2525 mkdir -p /usr/src/php/ext/uploadprogress; \
26- curl -fsSL -o uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
27- echo "$UPLOAD_PROGRESS_SHA256 uploadprogress.tar.gz" | sha256sum -c -; \
28- tar -xf uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
26+ curl -fsSL -o /usr/src/php/ext/ uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
27+ echo "$UPLOAD_PROGRESS_SHA256 /usr/src/php/ext/ uploadprogress.tar.gz" | sha256sum -c -; \
28+ tar -xf /usr/src/php/ext/ uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
2929 \
3030 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
3131 docker-php-ext-install -j "$(nproc)" \
@@ -38,7 +38,7 @@ RUN set -ex; \
3838 uploadprogress \
3939 ; \
4040 \
41- rm -r /usr/src/php/ext/uploadprogress; \
41+ rm -r /usr/src/php/ext/uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
4242 \
4343 runDeps="$( \
4444 scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ RUN set -ex; \
2525 ; \
2626 \
2727 mkdir -p /usr/src/php/ext/uploadprogress; \
28- curl -fsSL -o uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
29- echo "$UPLOAD_PROGRESS_SHA256 uploadprogress.tar.gz" | sha256sum -c -; \
30- tar -xf uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
28+ curl -fsSL -o /usr/src/php/ext/ uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
29+ echo "$UPLOAD_PROGRESS_SHA256 /usr/src/php/ext/ uploadprogress.tar.gz" | sha256sum -c -; \
30+ tar -xf /usr/src/php/ext/ uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
3131 \
3232 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
3333 docker-php-ext-install -j "$(nproc)" \
@@ -40,7 +40,7 @@ RUN set -ex; \
4040 uploadprogress \
4141 ; \
4242 \
43- rm -r /usr/src/php/ext/uploadprogress; \
43+ rm -r /usr/src/php/ext/uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
4444 \
4545 apt-mark auto '.*' > /dev/null; \
4646 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ RUN set -ex; \
2626 ; \
2727 \
2828 mkdir -p /usr/src/php/ext/uploadprogress; \
29- curl -fsSL -o uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30- echo "$UPLOAD_PROGRESS_SHA256 uploadprogress.tar.gz" | sha256sum -c -; \
31- tar -xf uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
29+ curl -fsSL -o /usr/src/php/ext/ uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30+ echo "$UPLOAD_PROGRESS_SHA256 /usr/src/php/ext/ uploadprogress.tar.gz" | sha256sum -c -; \
31+ tar -xf /usr/src/php/ext/ uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
3232 \
3333 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
3434 docker-php-ext-install -j "$(nproc)" \
@@ -41,7 +41,7 @@ RUN set -ex; \
4141 uploadprogress \
4242 ; \
4343 \
44- rm -r /usr/src/php/ext/uploadprogress; \
44+ rm -r /usr/src/php/ext/uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
4545 \
4646 apt-mark auto '.*' > /dev/null; \
4747 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ RUN set -ex; \
2424 ; \
2525 \
2626 mkdir -p /usr/src/php/ext/uploadprogress; \
27- curl -fsSL -o uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
28- echo "$UPLOAD_PROGRESS_SHA256 uploadprogress.tar.gz" | sha256sum -c -; \
29- tar -xf uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
27+ curl -fsSL -o /usr/src/php/ext/ uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
28+ echo "$UPLOAD_PROGRESS_SHA256 /usr/src/php/ext/ uploadprogress.tar.gz" | sha256sum -c -; \
29+ tar -xf /usr/src/php/ext/ uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
3030 \
3131 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
3232 docker-php-ext-install -j "$(nproc)" \
@@ -39,7 +39,7 @@ RUN set -ex; \
3939 uploadprogress \
4040 ; \
4141 \
42- rm -r /usr/src/php/ext/uploadprogress; \
42+ rm -r /usr/src/php/ext/uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
4343 \
4444 runDeps="$( \
4545 scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ RUN set -ex; \
2626 ; \
2727 \
2828 mkdir -p /usr/src/php/ext/uploadprogress; \
29- curl -fsSL -o uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30- echo "$UPLOAD_PROGRESS_SHA256 uploadprogress.tar.gz" | sha256sum -c -; \
31- tar -xf uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
29+ curl -fsSL -o /usr/src/php/ext/ uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30+ echo "$UPLOAD_PROGRESS_SHA256 /usr/src/php/ext/ uploadprogress.tar.gz" | sha256sum -c -; \
31+ tar -xf /usr/src/php/ext/ uploadprogress.tar.gz -C /usr/src/php/ext/uploadprogress --strip-components=1; \
3232 \
3333 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm; \
3434 docker-php-ext-install -j "$(nproc)" \
@@ -41,7 +41,7 @@ RUN set -ex; \
4141 uploadprogress \
4242 ; \
4343 \
44- rm -r /usr/src/php/ext/uploadprogress; \
44+ rm -r /usr/src/php/ext/uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
4545 \
4646 apt-mark auto '.*' > /dev/null; \
4747 apt-mark manual $savedAptMark; \
You can’t perform that action at this time.
0 commit comments