summaryrefslogtreecommitdiffstats
path: root/Dockerfile
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
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')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index eecf3630b..33ca69e1f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,4 +39,7 @@ ADD . /tmp/src
# as per the INSTALL_OC environment setting above
RUN /usr/libexec/s2i/assemble
+# Add files for running as a system container
+COPY system-container/root /
+
CMD [ "/usr/libexec/s2i/run" ]