Initial import (#1420568).
This commit is contained in:
parent
dc3be84d8d
commit
2ccd069ef8
1 changed files with 16 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM registry.fedoraproject.org/fedora:26
|
||||
MAINTAINER "Randy Barlow" <bowlofeggs@fedoraproject.org>
|
||||
|
||||
ENV NAME=docker-distribution VERSION=2.4.1 RELEASE=2 ARCH=x86_64
|
||||
LABEL BZComponent="$NAME" \
|
||||
Name="$FGC/$NAME" \
|
||||
Version="$VERSION" \
|
||||
Release="$RELEASE.$DISTTAG" \
|
||||
Architecture="$ARCH"
|
||||
|
||||
RUN dnf install -y docker-distribution
|
||||
|
||||
VOLUME ["/var/lib/registry"]
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["/usr/bin/registry"]
|
||||
CMD ["serve", "/etc/docker-distribution/registry/config.yml"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue