aboutsummaryrefslogtreecommitdiffstats
path: root/matterhorn
diff options
context:
space:
mode:
Diffstat (limited to 'matterhorn')
-rw-r--r--matterhorn/Dockerfile4
-rwxr-xr-xmatterhorn/run.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/matterhorn/Dockerfile b/matterhorn/Dockerfile
index 5839ccc..2f10112 100644
--- a/matterhorn/Dockerfile
+++ b/matterhorn/Dockerfile
@@ -1,10 +1,12 @@
FROM centos:7
RUN yum update
-RUN yum install tmux wget tar bzip2 -y
+RUN yum install tmux wget tar bzip2 openssh-server openssh-clients initscripts -y
RUN mkdir devi
WORKDIR /devi
RUN wget https://github.com/matterhorn-chat/matterhorn/releases/download/50200.10.2/matterhorn-50200.10.2-centos-7-x86_64.tar.bz2
RUN tar -xvf matterhorn-50200.10.2-centos-7-x86_64.tar.bz2
+RUN cd matterhorn-50200.10.2-centos-7-x86_64
+# ENTRYPOINT ["./matterhorn"]
EXPOSE 9000
diff --git a/matterhorn/run.sh b/matterhorn/run.sh
index 7ea0781..ec03ede 100755
--- a/matterhorn/run.sh
+++ b/matterhorn/run.sh
@@ -1,2 +1,3 @@
#!/usr/bin/env sh
-docker run --network="host" -it --entrypoint bash $1
+docker run --network="host" -it --privileged $1 /usr/sbin/init
+# docker run --network="host" -it --entrypoint bash --privileged $1 /usr/sbin/init