mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-06 07:54:22 +01:00
The docker script has been removed as part of
62cbaf4de4, but references to it were left
behind in the artifact-list.sh, release/kata-deploy-binaries.sh, and
kata-deploy/Dockerfile.
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
22 lines
659 B
Docker
22 lines
659 B
Docker
FROM centos/systemd
|
|
ARG KUBE_ARCH=amd64
|
|
ARG KATA_ARTIFACTS=./kata-static.tar.xz
|
|
ARG DESTINATION=/opt/kata-artifacts
|
|
|
|
COPY ${KATA_ARTIFACTS} .
|
|
|
|
RUN \
|
|
yum install -y epel-release && \
|
|
yum install -y bzip2 jq && \
|
|
mkdir -p ${DESTINATION} && \
|
|
tar xvf ${KATA_ARTIFACTS} -C ${DESTINATION}/ && \
|
|
chown -R root:root ${DESTINATION}/
|
|
|
|
RUN \
|
|
curl -Lso /bin/kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/${KUBE_ARCH}/kubectl && \
|
|
chmod +x /bin/kubectl
|
|
|
|
COPY scripts ${DESTINATION}/scripts
|
|
RUN \
|
|
ln -s ${DESTINATION}/scripts/kata-deploy.sh /usr/bin/kata-deploy
|