20d965c864
Use docker.io/openstackmagnumtest initially. Change-Id: Idfb5ba636df2928e2e3e5248fdcaabd63160a4a4 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
25 lines
788 B
Docker
25 lines
788 B
Docker
ARG KUBE_VERSION=v1.13.0
|
|
FROM gcr.io/google-containers/hyperkube-amd64:${KUBE_VERSION}
|
|
|
|
ENV container=docker
|
|
|
|
ENV NAME=kubernetes-kubelet VERSION=0 RELEASE=8 ARCH=x86_64
|
|
LABEL bzcomponent="$NAME" \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
release="$RELEASE.$DISTTAG" \
|
|
architecture="$ARCH" \
|
|
atomic.type='system' \
|
|
maintainer="Jason Brooks <jbrooks@redhat.com>"
|
|
|
|
COPY launch.sh /usr/bin/kubelet-docker.sh
|
|
COPY kubelet config /etc/kubernetes/
|
|
|
|
COPY manifest.json tmpfiles.template service.template config.json.template /exports/
|
|
|
|
RUN mkdir -p /exports/hostfs/etc/cni/net.d && \
|
|
mkdir -p /exports/hostfs/etc/kubernetes && \
|
|
cp /etc/kubernetes/{config,kubelet} /exports/hostfs/etc/kubernetes
|
|
|
|
ENTRYPOINT ["/usr/bin/kubelet-docker.sh"]
|