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>
15 lines
453 B
Docker
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"]
|