Merge pull request #136 from kata-containers/kata-deploy-1.2-dockerfile

Kata deploy 1.2 dockerfile
This commit is contained in:
Jose Carlos Venegas Munoz
2018-08-16 14:05:00 -05:00
committed by GitHub
3 changed files with 10 additions and 8 deletions

View File

@@ -1,13 +1,15 @@
FROM centos/systemd
ARG KATA_VER=1.1.0
ARG KATA_VER=1.2.0
ARG ARCH=x86_64
ARG KATA_URL=https://github.com/kata-containers/runtime/releases/download/${KATA_VER}
ARG KATA_FILE=kata-static-${KATA_VER}-${ARCH}.tar.xz
ARG KUBECTL_VER=v1.10.2
RUN \
curl -sOL ${KATA_URL}/kata-release-binaries.tar.xz && \
curl -sOL ${KATA_URL}/${KATA_FILE} && \
mkdir -p /opt/kata-artifacts && \
tar xvf kata-release-binaries.tar.xz -C /opt/kata-artifacts && \
rm kata-release-binaries.tar.xz
tar xvf ${KATA_FILE} -C /opt/kata-artifacts/ && \
rm ${KATA_FILE}
RUN \
curl -s -o /bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VER}/bin/linux/amd64/kubectl && \

View File

@@ -18,7 +18,7 @@ spec:
kata-containers.io/kata-runtime: cleanup
containers:
- name: kube-kata-cleanup
image: katadocker/kata-deploy
image: katadocker/kata-deploy:1.1.0
imagePullPolicy: Always
command: [ "sh", "-c" ]
args:

View File

@@ -16,7 +16,7 @@ spec:
serviceAccountName: kata-label-node
containers:
- name: kubelet-runtime-labeler-pod
image: katadocker/kata-deploy
image: katadocker/kata-deploy:1.1.0
imagePullPolicy: Always
command: [ "sh", "-c" ]
args:
@@ -56,7 +56,7 @@ spec:
kata-containers.io/container-runtime: cri-o
containers:
- name: kube-kata
image: katadocker/kata-deploy
image: katadocker/kata-deploy:1.1.0
imagePullPolicy: Always
lifecycle:
preStop:
@@ -127,7 +127,7 @@ spec:
kata-containers.io/container-runtime: containerd
containers:
- name: kube-kata
image: katadocker/kata-deploy
image: katadocker/kata-deploy:1.1.0
imagePullPolicy: Always
lifecycle:
preStop: