aboutsummaryrefslogtreecommitdiffstats
path: root/matterhorn
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-11-12 19:15:43 +0000
committerbloodstalker <thabogre@gmail.com>2020-11-12 19:15:43 +0000
commit552ad4f39c349522b4d9e4d56225143df7aa9b3f (patch)
tree739e5bccb9c75b14a7f3f63b01362e0819c66d76 /matterhorn
parentcentos7 image for matterhorn (diff)
downloaddockerimages-552ad4f39c349522b4d9e4d56225143df7aa9b3f.tar.gz
dockerimages-552ad4f39c349522b4d9e4d56225143df7aa9b3f.zip
update
Diffstat (limited to '')
-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