This repository was archived by the owner on Feb 24, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ if [[ $EUID -ne 0 ]]; then
77fi
88
99IMG_NAME=" coreos.com/rkt/builder"
10- VERSION=" 1.2 .0"
10+ VERSION=" 1.3 .0"
1111ARCH=amd64
1212OS=linux
13+ DEBIAN_VERSION=buster
1314
1415FLAGS=${FLAGS:- " " }
1516ACI_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
5960mkdir 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/
6162rm -rf rootfs/var/cache/apt/archives/*
6263
6364echo " Version: v${VERSION} "
@@ -71,7 +72,7 @@ acbuild $FLAGS label add version $VERSION
7172acbuild $FLAGS set-user 0
7273acbuild $FLAGS set-group 0
7374echo ' { "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}
7576acbuild $FLAGS environment add GOPATH $ACI_GOPATH
7677acbuild $FLAGS environment add BUILDDIR $BUILDDIR
7778acbuild $FLAGS environment add SRC_DIR $SRC_DIR
You can’t perform that action at this time.
0 commit comments