Skip to content

Commit 9dbb50b

Browse files
committed
chore(pack-images): upgrade stack version
1 parent bc5135d commit 9dbb50b

10 files changed

Lines changed: 11 additions & 69 deletions

File tree

Dockerfile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
RUN cp -rf /var/lib/dpkg /var/lib/dpkg-run; \
66
\
77
\
8-
install-packages zlib1g git autoconf pkg-config build-essential zip unzip; \
8+
install-packages zlib1g git autoconf pkg-config build-essential zip unzip file; \
99
install-stack jq 1.6; \
1010
install-stack yj 5.1.0; \
1111
cp -rf /opt/drycc/*/bin/* /usr/local/bin; \

buildpacks/go/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=1.17
13+
version=1.20
1414
if [[ -f go.mod ]]; then
1515
version=$(grep <go.mod 'go [1.*]' | tr -d 'go ')
1616
fi

buildpacks/node/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=16
13+
version=18
1414
if [[ -f .node-version ]]; then
1515
version=$(tr <.node-version -d '[:space:] | node-')
1616
fi

buildpacks/php/bin/detect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
php_version=8.1
13+
php_version=8.2
1414
if [[ -f .php-version ]]; then
1515
php_version=$(tr <.php-version -d '[:space:]')
1616
fi
1717

18-
nginx_version=1.21.6
18+
nginx_version=1.25.1
1919
if [[ -f .nginx-version ]]; then
2020
nginx_version=$(tr <.nginx-version -d '[:space:]')
2121
fi

buildpacks/php/bin/install-extensions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pecl_extension_install() {
1515
echo "---> Installing extension ${ext}"
1616
# shellcheck disable=SC2154
1717
if [ ! -e "${php_layer_dir}/ext/${ext}.so" ]; then
18-
pecl install xdebug
18+
pecl install "${ext}"
1919
ext_name=$(echo "${ext}" | awk -F "-" '{print $1}')
2020
php-ext-enable --ini-name "${php_layer_dir}"/config/php.ini "${ext_name}"
2121
fi
@@ -30,7 +30,7 @@ urls_extension_install() {
3030
curl -fsSL "${ext_url}" -o "${ext_tar}" &&
3131
mkdir -p "${ext_tmp}" &&
3232
tar -xf "${ext_tar}" -C "${ext_tmp}" --strip-components=1 &&
33-
php-ext-configure "${ext_tmp}" --enable-"${ext}" --with-php-config="${php_layer_dir}"/bin/php-config &&
33+
php-ext-configure "${ext_tmp}" --with-php-config="${php_layer_dir}"/bin/php-config &&
3434
INSTALL_ROOT="${php_layer_dir}" php-ext-install --ini-name "${php_layer_dir}"/config/php.ini "${ext_tmp}" &&
3535
rm -rf "${ext_tar}" "${ext_tmp}"
3636
}

buildpacks/php/lib/php-ext-configure

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@ set -e
77
: ${LDFLAGS:=$PHP_LDFLAGS}
88
export CFLAGS CPPFLAGS LDFLAGS
99

10-
srcExists=
11-
if [ -d "${php_layer_dir}"/src/php ]; then
12-
srcExists=1
13-
fi
14-
php-source extract
15-
if [ -z "$srcExists" ]; then
16-
touch "${php_layer_dir}"/src/.delete-me
17-
fi
18-
19-
cd "${php_layer_dir}"/src/php/ext
10+
cd "${php_layer_dir}"/src/ext
2011

2112
usage() {
2213
echo "usage: $0 ext-name [configure flags]"

buildpacks/php/lib/php-ext-install

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@ set -e
77
: ${LDFLAGS:=$PHP_LDFLAGS}
88
export CFLAGS CPPFLAGS LDFLAGS
99

10-
srcExists=
11-
if [ -d "${php_layer_dir}"/src/php ]; then
12-
srcExists=1
13-
fi
14-
php-source extract
15-
if [ -z "$srcExists" ]; then
16-
touch "${php_layer_dir}"/src/.delete-me
17-
fi
18-
19-
cd "${php_layer_dir}"/src/php/ext
10+
cd "${php_layer_dir}"/src/ext
2011

2112
usage() {
2213
echo "usage: $0 [-jN] [--ini-name file.ini] ext-name [ext-name ...]"
@@ -118,8 +109,4 @@ done
118109

119110
if [ "$pm" = 'apk' ] && [ -n "$apkDel" ]; then
120111
apk del --no-network $apkDel
121-
fi
122-
123-
if [ -e "${php_layer_dir}"/src/.delete-me ]; then
124-
php-source delete
125112
fi

buildpacks/php/lib/php-source

Lines changed: 0 additions & 36 deletions
This file was deleted.

buildpacks/python/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=3.10
13+
version=3.11
1414
if [[ -f .python-version ]]; then
1515
version=$(tr <.python-version -d '[:space:] | python-')
1616
fi

buildpacks/ruby/bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
plan_path=$2
1111

1212
# 3. GET CONFIGURATION
13-
version=3.1
13+
version=3.2
1414
if [[ -f .ruby-version ]]; then
1515
version=$(tr <.ruby-version -d '[:space:]')
1616
fi

0 commit comments

Comments
 (0)