File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,11 @@ usage() {
22
22
case " ${1:- } " in
23
23
extract)
24
24
mkdir -p " ${PHP_SRC_DIR} "
25
- if [[ ! -f " ${PHP_SRC_DIR} /.docker-extracted" ]]; then
26
- docker-package-download -o " ${PHP_SRC_FILE} " " ${PHP_URL} "
27
- echo " ${PHP_SHA256} ${PHP_SRC_FILE} " | sha256sum -c -
28
- tar --strip-components=1 -C " ${PHP_SRC_DIR} " -xzf " ${PHP_SRC_FILE} "
29
- touch " ${PHP_SRC_DIR} /.docker-extracted"
30
- fi
25
+ if [[ ! -f " ${PHP_SRC_DIR} /.docker-extracted" ]]; then
26
+ docker-package-download -o " ${PHP_SRC_FILE} " " https://codeload.github.com/php/php-src/tar.gz/PHP-${PHP_VERSION} "
27
+ tar --strip-components=1 -C " ${PHP_SRC_DIR} " -xzf " ${PHP_SRC_FILE} "
28
+ touch " ${PHP_SRC_DIR} /.docker-extracted"
29
+ fi
31
30
;;
32
31
33
32
delete)
You can’t perform that action at this time.
0 commit comments