File tree Expand file tree Collapse file tree 5 files changed +30
-30
lines changed Expand file tree Collapse file tree 5 files changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ RUN set -ex; \
2222 libzip-dev \
2323 ; \
2424 \
25- mkdir -p /usr/src/php/ext /uploadprogress; \
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; \
25+ mkdir -p /tmp /uploadprogress; \
26+ curl -fsSL -o /tmp/uploadprogress /uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
27+ echo "$UPLOAD_PROGRESS_SHA256 /tmp/uploadprogress /uploadprogress.tar.gz" | sha256sum -c -; \
28+ tar -xf /tmp/uploadprogress/ uploadprogress.tar.gz -C /tmp /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)" \
@@ -35,10 +35,10 @@ RUN set -ex; \
3535 opcache \
3636 zip \
3737 bcmath \
38- uploadprogress \
38+ /tmp/ uploadprogress \
3939 ; \
4040 \
41- rm -r /usr/src/php/ext/ uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
41+ rm -r /tmp/ uploadprogress; \
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 @@ -24,10 +24,10 @@ RUN set -ex; \
2424 libzip-dev \
2525 ; \
2626 \
27- mkdir -p /usr/src/php/ext /uploadprogress; \
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; \
27+ mkdir -p /tmp /uploadprogress; \
28+ curl -fsSL -o /tmp/uploadprogress /uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL"; \
29+ echo "$UPLOAD_PROGRESS_SHA256 /tmp/uploadprogress /uploadprogress.tar.gz" | sha256sum -c -; \
30+ tar -xf /tmp/uploadprogress/ uploadprogress.tar.gz -C /tmp /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)" \
@@ -37,10 +37,10 @@ RUN set -ex; \
3737 opcache \
3838 zip \
3939 bcmath \
40- uploadprogress \
40+ /tmp/ uploadprogress \
4141 ; \
4242 \
43- rm -r /usr/src/php/ext/ uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
43+ rm -r /tmp/ uploadprogress; \
4444 \
4545 apt-mark auto '.*' > /dev/null; \
4646 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ RUN set -ex; \
2525 libzip-dev \
2626 ; \
2727 \
28- mkdir -p /usr/src/php/ext /uploadprogress; \
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; \
28+ mkdir -p /tmp /uploadprogress; \
29+ curl -fsSL -o /tmp/uploadprogress /uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30+ echo "$UPLOAD_PROGRESS_SHA256 /tmp/uploadprogress /uploadprogress.tar.gz" | sha256sum -c -; \
31+ tar -xf /tmp/uploadprogress/ uploadprogress.tar.gz -C /tmp /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)" \
@@ -38,10 +38,10 @@ RUN set -ex; \
3838 opcache \
3939 zip \
4040 bcmath \
41- uploadprogress \
41+ /tmp/ uploadprogress \
4242 ; \
4343 \
44- rm -r /usr/src/php/ext/ uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
44+ rm -r /tmp/ uploadprogress; \
4545 \
4646 apt-mark auto '.*' > /dev/null; \
4747 apt-mark manual $savedAptMark; \
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ RUN set -ex; \
2323 libzip-dev \
2424 ; \
2525 \
26- mkdir -p /usr/src/php/ext /uploadprogress; \
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; \
26+ mkdir -p /tmp /uploadprogress; \
27+ curl -fsSL -o /tmp/uploadprogress /uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
28+ echo "$UPLOAD_PROGRESS_SHA256 /tmp/uploadprogress /uploadprogress.tar.gz" | sha256sum -c -; \
29+ tar -xf /tmp/uploadprogress/ uploadprogress.tar.gz -C /tmp /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)" \
@@ -36,10 +36,10 @@ RUN set -ex; \
3636 opcache \
3737 zip \
3838 bcmath \
39- uploadprogress \
39+ /tmp/ uploadprogress \
4040 ; \
4141 \
42- rm -r /usr/src/php/ext/ uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
42+ rm -r /tmp/ uploadprogress; \
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 @@ -25,10 +25,10 @@ RUN set -ex; \
2525 libzip-dev \
2626 ; \
2727 \
28- mkdir -p /usr/src/php/ext /uploadprogress; \
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; \
28+ mkdir -p /tmp /uploadprogress; \
29+ curl -fsSL -o /tmp/uploadprogress /uploadprogress.tar.gz "$UPLOAD_PROGRESS_EXT_URL" ; \
30+ echo "$UPLOAD_PROGRESS_SHA256 /tmp/uploadprogress /uploadprogress.tar.gz" | sha256sum -c -; \
31+ tar -xf /tmp/uploadprogress/ uploadprogress.tar.gz -C /tmp /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)" \
@@ -38,10 +38,10 @@ RUN set -ex; \
3838 opcache \
3939 zip \
4040 bcmath \
41- uploadprogress \
41+ /tmp/ uploadprogress \
4242 ; \
4343 \
44- rm -r /usr/src/php/ext/ uploadprogress /usr/src/php/ext/uploadprogress.tar.gz ; \
44+ rm -r /tmp/ uploadprogress; \
4545 \
4646 apt-mark auto '.*' > /dev/null; \
4747 apt-mark manual $savedAptMark; \
You can’t perform that action at this time.
0 commit comments