Use the correct dnf syntax to install a specific package version.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-07-05 17:39:00 -04:00
commit ef3b1ca21b

View file

@ -8,7 +8,7 @@ LABEL BZComponent="$NAME" \
Release="$RELEASE.$DISTTAG" \
Architecture="$ARCH"
RUN dnf install -y docker-distribution==2.5.1 && dnf clean all
RUN dnf install -y docker-distribution-2.5.1 && dnf clean all
VOLUME ["/var/lib/registry"]
EXPOSE 5000