bump kic version to 7

pull/6756/head
Medya Gh 2020-02-22 14:07:43 -08:00
parent 95402af363
commit 73c4c4c323
2 changed files with 5 additions and 5 deletions

View File

@ -16,9 +16,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# install cri-o based on https://github.com/cri-o/cri-o/commit/96b0c34b31a9fc181e46d7d8e34fb8ee6c4dc4e1#diff-04c6e90faac2675aa89e2176d2eec7d8R128
RUN sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_19.10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
curl -LO https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_19.10/Release.key && \
apt-key add - < Release.key && apt-get update && apt-get install -y cri-o-1.17=1.17.0-3
apt-key add - < Release.key && apt-get update && \
apt-get install -y --no-install-recommends cri-o-1.17=1.17.0-3
# install podman
RUN apt-get install -y podman=1.8.0~7
RUN apt-get install -y --no-install-recommends podman=1.8.0~7
# disable non-docker runtimes by default
RUN systemctl disable containerd && systemctl disable crio
# enable docker which is default

View File

@ -32,7 +32,7 @@ const (
// Version is the current version of kic
Version = "v0.0.7"
// SHA of the kic base image
baseImageSHA = "53725be5106d1d797dff4041d8c297383f32ab2edeff0a69fc3f50263cf17c79"
baseImageSHA = "sha256:66eab477ec0cf93855d9261ded5851d42ce3688d4ea1a6e9241e860d7c8010a1"
// OverlayImage is the cni plugin used for overlay image, created by kind.
// CNI plugin image used for kic drivers created by kind.
@ -41,8 +41,7 @@ const (
var (
// BaseImage is the base image is used to spin up kic containers. it uses same base-image as kind.
// BaseImage = fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA)
BaseImage = fmt.Sprintf("kicbase:local")
BaseImage = fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA)
)
// Config is configuration for the kic driver used by registry