diff --git a/deploy/kicbase/Dockerfile b/deploy/kicbase/Dockerfile index 13b32a36294bca6121a88952a50ae7530194f5f4..5ae81c8afd65b7852e6737200f2f59149ad109c3 100644 --- a/deploy/kicbase/Dockerfile +++ b/deploy/kicbase/Dockerfile @@ -92,14 +92,17 @@ RUN clean-install \ lz4 \ gnupg \ sudo \ - docker.io \ - containerd \ openssh-server \ dnsutils \ - runc \ # libglib2.0-0 is required for conmon, which is required for podman libglib2.0-0 +# install docker +RUN sh -c "echo 'deb https://download.docker.com/linux/ubuntu focal stable' > /etc/apt/sources.list.d/docker.list" && \ + curl -L https://download.docker.com/linux/ubuntu/gpg -o docker.key && \ + apt-key add - < docker.key && \ + clean-install docker-ce docker-ce-cli containerd.io + # Install cri-o/podman dependencies: RUN sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \ curl -LO https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \ @@ -118,7 +121,7 @@ RUN sh -c "echo 'deb https://dl.bintray.com/afbjorklund/podman focal main' > /et apt-key add - < afbjorklund-public.key.asc && \ clean-install podman=1.9.3~1 -RUN mkdir -p /usr/lib/cri-o-runc/sbin && cp /usr/sbin/runc /usr/lib/cri-o-runc/sbin/runc +RUN mkdir -p /usr/lib/cri-o-runc/sbin && cp /usr/bin/runc /usr/lib/cri-o-runc/sbin/runc # automount service COPY automount/minikube-automount /usr/sbin/minikube-automount