This repository was archived by the owner on Jun 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,11 @@ build_image() {
105
105
# Clone os-builder repository
106
106
go get -d " ${osbuilder_repo} " || true
107
107
108
+ # Make sure runc is default runtime.
109
+ # The image builder with USER_DOCKER=true will not work otherwise.
110
+ # See https://github.com/clearcontainers/osbuilder/issues/8
111
+ " ${cidir} /../cmd/container-manager/manage_ctr_mgr.sh" docker configure -r runc -f
112
+
108
113
(cd " ${GOPATH} /src/${osbuilder_repo} /rootfs-builder" && \
109
114
sudo -E AGENT_INIT=" ${AGENT_INIT} " AGENT_VERSION=" ${agent_commit} " \
110
115
GOPATH=" $GOPATH " USE_DOCKER=true ./rootfs.sh " ${OSBUILDER_DISTRO} " )
Original file line number Diff line number Diff line change @@ -71,11 +71,6 @@ branch=
71
71
# - We got get changes if versions.yaml changed.
72
72
${GOPATH} /src/${tests_repo} /.ci/install_go.sh -p -f
73
73
74
- # Make sure runc is default runtime.
75
- # This is needed in case a new image creation.
76
- # See https://github.com/clearcontainers/osbuilder/issues/8
77
- " ${GOPATH} /src/${tests_repo} /cmd/container-manager/manage_ctr_mgr.sh" docker configure -r runc -f
78
-
79
74
if [ -n " $pr_number " ]; then
80
75
export branch=" ${ghprbTargetBranch} "
81
76
export pr_branch=" PR_${pr_number} "
You can’t perform that action at this time.
0 commit comments