20d965c864
Use docker.io/openstackmagnumtest initially. Change-Id: Idfb5ba636df2928e2e3e5248fdcaabd63160a4a4 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
24 lines
793 B
Docker
24 lines
793 B
Docker
ARG KUBE_VERSION=v1.13.0
|
|
FROM gcr.io/google-containers/kube-scheduler-amd64:${KUBE_VERSION}
|
|
ENV container=docker
|
|
|
|
ENV NAME=kubernetes-scheduler VERSION=0.1 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/kube-scheduler-docker.sh
|
|
|
|
COPY service.template config.json.template /exports/
|
|
|
|
COPY scheduler config /etc/kubernetes/
|
|
RUN mkdir -p /exports/hostfs/etc/kubernetes && \
|
|
cp /etc/kubernetes/config /exports/hostfs/etc/kubernetes/ && \
|
|
cp /etc/kubernetes/scheduler /exports/hostfs/etc/kubernetes/
|
|
|
|
ENTRYPOINT ["/usr/bin/kube-scheduler-docker.sh"]
|