summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rhel7
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-03-16 17:17:10 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-05-03 13:01:50 +0200
commit28c75e6e5c02ee0c796d378846c2ad8f7a3a8c22 (patch)
tree7d4ad768458e9636b35c15976414c69631af2524 /Dockerfile.rhel7
parentba5c6594ade6679d055aaecc7c38836444f0f791 (diff)
downloadopenshift-28c75e6e5c02ee0c796d378846c2ad8f7a3a8c22.tar.gz
openshift-28c75e6e5c02ee0c796d378846c2ad8f7a3a8c22.tar.bz2
openshift-28c75e6e5c02ee0c796d378846c2ad8f7a3a8c22.tar.xz
openshift-28c75e6e5c02ee0c796d378846c2ad8f7a3a8c22.zip
installer: support running as a system container
Example: atomic install --system --set INVENTORY_FILE=$(pwd)/hosts.inventory \ --set SSH_ROOT=/root/.ssh \ --set PLAYBOOK_FILE=./playbooks/byo/config.yml openshift-ansible Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'Dockerfile.rhel7')
-rw-r--r--Dockerfile.rhel73
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile.rhel7 b/Dockerfile.rhel7
index c5a95f586..00841e660 100644
--- a/Dockerfile.rhel7
+++ b/Dockerfile.rhel7
@@ -39,4 +39,7 @@ ENV PLAYBOOK_FILE=playbooks/byo/openshift_facts.yml \
WORK_DIR=/usr/share/ansible/openshift-ansible \
OPTS="-v"
+# Add files for running as a system container
+COPY system-container/root /
+
CMD [ "/usr/libexec/s2i/run" ]