Skip to content

Commit 750210d

Browse files
feat: update cnb script
1 parent 6ca94ae commit 750210d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

php/7.2.33/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ ENV PHP_URL="https://www.php.net/distributions/php-7.2.33.tar.xz" PHP_ASC_URL="h
7171
ENV PHP_SHA256="0f160a3483ffce36be5962fab7bcf09d605ee66c5707df83e4195cb796bbb03a" PHP_MD5=""
7272

7373

74-
COPY ./data/php-7.2.33.tar.xz /usr/src/php.tar.xz
7574

7675
RUN set -eux; \
7776
\
@@ -81,8 +80,8 @@ RUN set -eux; \
8180
rm -rf /var/lib/apt/lists/*; \
8281
\
8382
mkdir -p /usr/src; \
84-
cd /usr/src; \
85-
\
83+
# cd /usr/src; \
84+
# \
8685
# curl -fsSL -o php.tar.xz "$PHP_URL"; \
8786
# \
8887
# if [ -n "$PHP_SHA256" ]; then \
@@ -108,7 +107,7 @@ RUN set -eux; \
108107
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
109108

110109
#COPY docker-php-source /usr/local/bin/
111-
110+
COPY ./data/php-7.2.33.tar.xz /usr/src/php.tar.xz
112111
COPY --from=php-source /usr/local/bin/docker-php-source /usr/local/bin/
113112

114113

0 commit comments

Comments
 (0)