From ecfc5dab1b595fc9e7e95e6a6031d15daee9584e Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sun, 27 Aug 2023 13:14:02 +0700 Subject: [PATCH] Upgrade alpine to 3.18.3 --- Makefile | 2 +- src/build.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8be9e7a..c503a06 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2) -DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.16 +DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.18.3 build: ./src/build.sh diff --git a/src/build.sh b/src/build.sh index afa999f..6c6e978 100755 --- a/src/build.sh +++ b/src/build.sh @@ -10,8 +10,8 @@ set -ex # Default args DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME:-calpine-os-linux} DOCKER_USERNAME="${DOCKER_USERNAME:-cubetiq}" -ALPINE_VERSION="${ALPINE_VERSION:-3.16}" -ALPINE_MAKE_ROOTFS_VERSION="${ALPINE_MAKE_ROOTFS_VERSION:-0.6.1}" +ALPINE_VERSION="${ALPINE_VERSION:-3.18.3}" +ALPINE_MAKE_ROOTFS_VERSION="${ALPINE_MAKE_ROOTFS_VERSION:-0.7.0}" PACKAGES="apk-tools ca-certificates ssl_client" MKROOTFS="/tmp/alpine-make-rootfs" @@ -28,7 +28,7 @@ $PRE_INSTALL # Build from alpine rootfs # Download rootfs builder and verify it. wget https://raw.githubusercontent.com/alpinelinux/alpine-make-rootfs/v${ALPINE_MAKE_ROOTFS_VERSION}/alpine-make-rootfs -O "$MKROOTFS" -echo "73948b9ee3580d6d9dc277ec2d9449d941e32818 $MKROOTFS" | sha1sum -c - +echo "e09b623054d06ea389f3a901fd85e64aa154ab3a $MKROOTFS" | sha1sum -c - chmod +x ${MKROOTFS} sudo ${MKROOTFS} --mirror-uri http://dl-2.alpinelinux.org/alpine \