Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit b56592f

Browse files
authored
Merge pull request #880 from grahamwhaley/20181101_setup_docker
CI: setup: docker: Delay when we reconfig docker
2 parents bc1e9f3 + b354ea1 commit b56592f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.ci/install_kata_image.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ build_image() {
105105
# Clone os-builder repository
106106
go get -d "${osbuilder_repo}" || true
107107

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+
108113
(cd "${GOPATH}/src/${osbuilder_repo}/rootfs-builder" && \
109114
sudo -E AGENT_INIT="${AGENT_INIT}" AGENT_VERSION="${agent_commit}" \
110115
GOPATH="$GOPATH" USE_DOCKER=true ./rootfs.sh "${OSBUILDER_DISTRO}")

.ci/jenkins_job_build.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ branch=
7171
# - We got get changes if versions.yaml changed.
7272
${GOPATH}/src/${tests_repo}/.ci/install_go.sh -p -f
7373

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-
7974
if [ -n "$pr_number" ]; then
8075
export branch="${ghprbTargetBranch}"
8176
export pr_branch="PR_${pr_number}"

0 commit comments

Comments
 (0)