diff --git a/Dockerfile b/Dockerfile index 8f729de..22c8f72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM registry.fedoraproject.org/fedora:26 +FROM registry.fedoraproject.org/fedora:28 MAINTAINER "Stef Walter" -ENV VERSION=135 RELEASE=1 +ENV VERSION=166 RELEASE=1 LABEL BZComponent="cockpit" \ Name="$FGC/cockpit" \ Version="$VERSION" \ @@ -9,15 +9,15 @@ LABEL BZComponent="cockpit" \ Architecture="x86_64" -RUN dnf install -y cockpit-ws cockpit-dashboard +RUN dnf install -y cockpit-ws cockpit-dashboard && \ + mkdir -p /container && ln -s /host/proc/1 /container/target-namespace && \ + dnf clean all -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 -RUN chmod -v +x /container/atomic-uninstall -RUN chmod -v +x /container/atomic-run + +RUN chmod -v +x /container/atomic-install /container/atomic-uninstall /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