Compare commits

...
Sign in to create a new pull request.

10 commits

Author SHA1 Message Date
Martin Pitt
f623cdc0a8 Update for Cockpit 176 2018-09-03 11:48:55 +02:00
Clement Verna
97fb4d7aca Drop Release label in favor of OSBS release_bump plugin.
OSBS can automatically bump the release number, for that
we just need to drop the label from the Dockerfile

See https://pagure.io/ContainerSIG/container-sig/issue/1

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-08-20 17:12:56 +02:00
Mohan Boddu
74c20eab97 "Bump RELEASE for automatic rebuild" 2018-07-24 18:51:05 +00:00
Mohan Boddu
943e80accd "Bump RELEASE for automatic rebuild" 2018-07-23 13:09:32 +00:00
Mohan Boddu
bdb6a30417 "Bump RELEASE for automatic rebuild" 2018-07-09 13:31:29 +00:00
Mohan Boddu
2886f239cd "Bump RELEASE for automatic rebuild" 2018-05-30 19:20:11 +00:00
Mohan Boddu
c417369eb4 "Bump RELEASE for automatic rebuild" 2018-05-21 17:55:57 +00:00
Mohan Boddu
a0d038f438 "Bump RELEASE for automatic rebuild" 2018-05-21 14:18:54 +00:00
Martin Pitt
f19ffa7f36 Fix VERSION back to 0
As per https://fedoraproject.org/wiki/Container:Guidelines#VERSIONING
2018-05-02 22:40:31 +02:00
Martin Pitt
1de3abbdf3 Update for cockpit 166 and Fedora 28 2018-05-02 19:19:30 +02:00

View file

@ -1,23 +1,22 @@
FROM registry.fedoraproject.org/fedora:26 FROM registry.fedoraproject.org/fedora:28
MAINTAINER "Stef Walter" <stefw@redhat.com> MAINTAINER "Stef Walter" <stefw@redhat.com>
ENV VERSION=135 RELEASE=1 ENV VERSION=0
LABEL BZComponent="cockpit" \ LABEL BZComponent="cockpit" \
Name="$FGC/cockpit" \ Name="$FGC/cockpit" \
Version="$VERSION" \ Version="$VERSION" \
Release="$RELEASE.$DISTTAG" \
Architecture="x86_64" Architecture="x86_64"
RUN dnf install -y cockpit-ws cockpit-dashboard 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 mkdir -p /container && ln -s /host/proc/1 /container/target-namespace
ADD atomic-install /container/atomic-install ADD atomic-install /container/atomic-install
ADD atomic-uninstall /container/atomic-uninstall ADD atomic-uninstall /container/atomic-uninstall
ADD atomic-run /container/atomic-run 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-install /container/atomic-uninstall /container/atomic-run
RUN chmod -v +x /container/atomic-run
# Make the container think it's the host OS version # 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 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