Upgrade podman and add libglib2.0-0 to kicbase image
The `TestOffline/group/crio` integration test was failing with the error: ``` crio load image: sudo podman load -i /var/lib/minikube/images/storage-provisioner_v1.8.1: exit status 125 ``` I tried SSH'ing into minikube and running the command myself, and got the error: ``` Error: could not get runtime: please update to v2.0.1 or later: outdated conmon version ``` I then tried updating conmon, but got the error: ``` conmon: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory ``` I then tried adding the libglib2.0-0 library to the kic base image and upgrading podman, which seems to have resolved the issue.pull/7182/head
parent
4783772494
commit
abf35cfbc1
|
@ -12,6 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
docker.io=19.03.2-0ubuntu1 \
|
||||
openssh-server=1:8.0p1-6build1 \
|
||||
dnsutils=1:9.11.5.P4+dfsg-5.1ubuntu2.1 \
|
||||
# libglib2.0-0 is required for conmon, which is required for podman
|
||||
libglib2.0-0=2.62.1-1 \
|
||||
&& rm /etc/crictl.yaml
|
||||
# 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" && \
|
||||
|
@ -19,7 +21,7 @@ RUN sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/lib
|
|||
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 --no-install-recommends podman=1.8.0~7
|
||||
RUN apt-get install -y --no-install-recommends podman=1.8.2~1
|
||||
# disable non-docker runtimes by default
|
||||
RUN systemctl disable containerd && systemctl disable crio && rm /etc/crictl.yaml
|
||||
# enable docker which is default
|
||||
|
|
|
@ -30,9 +30,9 @@ const (
|
|||
DefaultPodCIDR = "10.244.0.0/16"
|
||||
|
||||
// Version is the current version of kic
|
||||
Version = "v0.0.7"
|
||||
Version = "v0.0.8"
|
||||
// SHA of the kic base image
|
||||
baseImageSHA = "a6f288de0e5863cdeab711fa6bafa38ee7d8d285ca14216ecf84fcfb07c7d176"
|
||||
baseImageSHA = "2f3380ebf1bb0c75b0b47160fd4e61b7b8fef0f1f32f9def108d3eada50a7a81"
|
||||
|
||||
// OverlayImage is the cni plugin used for overlay image, created by kind.
|
||||
// CNI plugin image used for kic drivers created by kind.
|
||||
|
|
Loading…
Reference in New Issue