diff --git a/containers/ws/Dockerfile b/containers/ws/Dockerfile index aa239f02fb5e..75fc79cac80a 100644 --- a/containers/ws/Dockerfile +++ b/containers/ws/Dockerfile @@ -11,9 +11,9 @@ RUN echo -e '[group_cockpit-cockpit-preview]\nname=Copr repo for cockpit-preview # Again see above ... we do our branching in shell script RUN /container/install-package.sh && /container/prep-container.sh -LABEL INSTALL="/usr/bin/docker run --rm --privileged -v /:/host IMAGE /container/atomic-install IMAGE" -LABEL UNINSTALL="/usr/bin/docker run --rm --privileged -v /:/host IMAGE /container/atomic-uninstall" -LABEL RUN="/usr/bin/docker run -d --name NAME --privileged --pid=host -v /:/host IMAGE /container/atomic-run --local-ssh" +LABEL INSTALL="/usr/bin/docker run --rm --privileged -v /:/host -e IMAGE=\${IMAGE} \${IMAGE} /container/atomic-install \${IMAGE}" +LABEL UNINSTALL="/usr/bin/docker run --rm --privileged -v /:/host -e IMAGE=\${IMAGE} \${IMAGE} /container/atomic-uninstall" +LABEL RUN="/usr/bin/docker run -d --name \${NAME} --privileged --pid=host -v /:/host -e NAME=\${NAME} -e IMAGE=\${IMAGE} \${IMAGE} /container/atomic-run --local-ssh" # Look ma, no EXPOSE