fix it actually
parent
3733f436fc
commit
885ad28bbc
|
@ -209,9 +209,9 @@ RUN chmod +x /var/lib/minikube/scheduled-stop/minikube-scheduled-stop
|
|||
RUN systemctl disable containerd
|
||||
# disable crio for archs that support it
|
||||
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' | sed 's/armhf/arm-v7/') && \
|
||||
if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then systemctl disable crio && rm /etc/crictl.yaml && systemctl enable podman.socket; fi
|
||||
if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then systemctl disable crio && rm /etc/crictl.yaml; fi
|
||||
# enable podman socket on archs that support it
|
||||
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then systemctl enable podman.socket; fi
|
||||
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && if [ "$ARCH" != "ppc64le" ]; then systemctl enable podman.socket; fi
|
||||
# enable docker which is default
|
||||
RUN systemctl enable docker.service
|
||||
# making SSH work for docker container
|
||||
|
|
Loading…
Reference in New Issue