docker-distribution/Dockerfile
Clement Verna b0d3ea12f5 Drop Release label in favor of OSBS release_bump plugin.
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: Clement Verna <cverna@tutanota.com>
2018-08-20 17:40:28 +02:00

15 lines
453 B
Docker

FROM registry.fedoraproject.org/fedora:rawhide
MAINTAINER "Randy Barlow" <bowlofeggs@fedoraproject.org>
ENV NAME=docker-distribution VERSION=2.6.2 ARCH=x86_64
LABEL BZComponent="$NAME" \
Name="$FGC/$NAME" \
Version="$VERSION" \
Architecture="$ARCH"
RUN dnf install -y docker-distribution-2.6.2 && dnf clean all
VOLUME ["/var/lib/registry"]
EXPOSE 5000
ENTRYPOINT ["/usr/bin/registry"]
CMD ["serve", "/etc/docker-distribution/registry/config.yml"]