mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-23 07:24:24 +01:00
kata-deploy: update Dockerfile to 1.2.0
kata-deploy container image changed format slightly as we've changed the release tarball. Update to 1.2.0 and make adjustments accordingly. Fixes: #135 Signed-off-by: Eric Ernst <eric.ernst@intel.com>
This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user