Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f623cdc0a8 | ||
|
|
97fb4d7aca | ||
|
|
74c20eab97 | ||
|
|
943e80accd | ||
|
|
bdb6a30417 | ||
|
|
2886f239cd | ||
|
|
c417369eb4 | ||
|
|
a0d038f438 | ||
|
|
f19ffa7f36 | ||
|
|
1de3abbdf3 |
1 changed files with 7 additions and 8 deletions
15
Dockerfile
15
Dockerfile
|
|
@ -1,23 +1,22 @@
|
|||
FROM registry.fedoraproject.org/fedora:26
|
||||
FROM registry.fedoraproject.org/fedora:28
|
||||
MAINTAINER "Stef Walter" <stefw@redhat.com>
|
||||
|
||||
ENV VERSION=135 RELEASE=1
|
||||
ENV VERSION=0
|
||||
LABEL BZComponent="cockpit" \
|
||||
Name="$FGC/cockpit" \
|
||||
Version="$VERSION" \
|
||||
Release="$RELEASE.$DISTTAG" \
|
||||
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-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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue