OSBS can automatically bump the release number, for that we just need to drop the label from the Dockerfile See https://pagure.io/ContainerSIG/container-sig/issue/1 Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
24 lines
702 B
Docker
24 lines
702 B
Docker
FROM registry.fedoraproject.org/kubernetes-master:rawhide
|
|
MAINTAINER "Jason Brooks" <jbrooks@redhat.com>
|
|
|
|
ENV container=docker
|
|
|
|
ENV NAME=kubernetes-proxy VERSION=0 ARCH=x86_64
|
|
LABEL BZComponent="$NAME" \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
architecture="$ARCH" \
|
|
atomic.type='system'
|
|
|
|
RUN dnf install -y iptables conntrack-tools && dnf clean all
|
|
|
|
LABEL RUN /usr/bin/docker run -d --privileged --net=host
|
|
|
|
COPY launch.sh /usr/bin/kube-proxy-docker.sh
|
|
|
|
COPY service.template config.json.template /exports/
|
|
|
|
RUN mkdir -p /exports/hostfs/etc/kubernetes && cp /etc/kubernetes/{config,proxy} /exports/hostfs/etc/kubernetes
|
|
|
|
ENTRYPOINT ["/usr/bin/kube-proxy-docker.sh"]
|
|
|