Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Commit f632c8f

Browse files
author
Marek Ruszczyk
committed
Bumped debian version to buster
1 parent 2d4c2e3 commit f632c8f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

acbuild.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ if [[ $EUID -ne 0 ]]; then
77
fi
88

99
IMG_NAME="coreos.com/rkt/builder"
10-
VERSION="1.2.0"
10+
VERSION="1.3.0"
1111
ARCH=amd64
1212
OS=linux
13+
DEBIAN_VERSION=buster
1314

1415
FLAGS=${FLAGS:-""}
1516
ACI_FILE=rkt-builder-"${VERSION}"-"${OS}"-"${ARCH}".aci
@@ -54,10 +55,10 @@ function acbuildend() {
5455
acbuild --debug end && rm -rf rootfs && exit $EXIT;
5556
}
5657

57-
echo "Generating debian sid tree"
58+
echo "Generating debian ${DEBIAN_VERSION} tree"
5859

5960
mkdir rootfs
60-
debootstrap --variant=minbase --components=main --include="${DEBIAN_SID_DEPS}" sid rootfs http://httpredir.debian.org/debian/
61+
debootstrap --variant=minbase --components=main --include="${DEBIAN_SID_DEPS}" ${DEBIAN_VERSION} rootfs http://httpredir.debian.org/debian/
6162
rm -rf rootfs/var/cache/apt/archives/*
6263

6364
echo "Version: v${VERSION}"
@@ -71,7 +72,7 @@ acbuild $FLAGS label add version $VERSION
7172
acbuild $FLAGS set-user 0
7273
acbuild $FLAGS set-group 0
7374
echo '{ "set": ["@rkt/default-whitelist", "mlock"] }' | acbuild isolator add "os/linux/seccomp-retain-set" -
74-
acbuild $FLAGS environment add OS_VERSION sid
75+
acbuild $FLAGS environment add OS_VERSION ${DEBIAN_VERSION}
7576
acbuild $FLAGS environment add GOPATH $ACI_GOPATH
7677
acbuild $FLAGS environment add BUILDDIR $BUILDDIR
7778
acbuild $FLAGS environment add SRC_DIR $SRC_DIR

0 commit comments

Comments
 (0)