diff --git a/Dockerfile b/Dockerfile index 2dedc2f..8aca91a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,23 @@ -FROM registry.fedoraproject.org/fedora:rawhide +FROM registry.fedoraproject.org/fedora:25 MAINTAINER "Stef Walter" -ENV VERSION=181 +ENV VERSION=135 RELEASE=14 LABEL BZComponent="cockpit" \ Name="$FGC/cockpit" \ Version="$VERSION" \ + Release="$RELEASE.$DISTTAG" \ Architecture="x86_64" -RUN dnf install -y cockpit-ws cockpit-dashboard cockpit-bridge && \ - mkdir -p /container && ln -s /host/proc/1 /container/target-namespace && \ - dnf clean all +RUN dnf install -y cockpit-ws cockpit-dashboard +RUN mkdir -p /container && ln -s /host/proc/1 /container/target-namespace ADD atomic-install /container/atomic-install ADD atomic-uninstall /container/atomic-uninstall ADD atomic-run /container/atomic-run - -RUN chmod -v +x /container/atomic-install /container/atomic-uninstall /container/atomic-run +RUN chmod -v +x /container/atomic-install +RUN chmod -v +x /container/atomic-uninstall +RUN chmod -v +x /container/atomic-run # Make the container think it's the host OS version RUN rm -f /etc/os-release /usr/lib/os-release && ln -sv /host/etc/os-release /etc/os-release && ln -sv /host/usr/lib/os-release /usr/lib/os-release