flannel/Dockerfile
2017-03-29 15:18:07 -05:00

23 lines
745 B
Docker

FROM fedora:25
ENV container=docker FLANNELD_ETCD_ENDPOINTS="http://127.0.0.1:2379" FLANNELD_ETCD_PREFIX="/atomic.io/network"
ENV VERSION=0.1 RELEASE=6 ARCH=x86_64
LABEL BZComponent="flannel" \
Name="$FGC/flannel" \
Version="$VERSION" \
Release="$RELEASE.$DISTTAG" \
Architecture="$ARCH" \
Summary="An etcd driven address agent, intended to be run as a system container" \
maintainer="Giuseppe Scrivano <gscrivan@redhat.com>" \
atomic.type='system'
RUN dnf -y --setopt=tsflags=nodocs install flannel && dnf clean all
ADD flanneld-run.sh /usr/bin/
# System container files
COPY tmpfiles.template service.template manifest.json \
config.json.template /exports/
CMD ["/usr/bin/flanneld-run.sh"]