From 0334e529867832d5da0cf6b9e2376f0842bd891b Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 11 Oct 2020 07:52:59 +0330 Subject: centos7 image for matterhorn --- matterhorn/Dockerfile | 10 ++++++++++ matterhorn/run.sh | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 matterhorn/Dockerfile create mode 100755 matterhorn/run.sh diff --git a/matterhorn/Dockerfile b/matterhorn/Dockerfile new file mode 100644 index 0000000..5839ccc --- /dev/null +++ b/matterhorn/Dockerfile @@ -0,0 +1,10 @@ +FROM centos:7 +RUN yum update +RUN yum install tmux wget tar bzip2 -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 + +EXPOSE 9000 diff --git a/matterhorn/run.sh b/matterhorn/run.sh new file mode 100755 index 0000000..7ea0781 --- /dev/null +++ b/matterhorn/run.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +docker run --network="host" -it --entrypoint bash $1 -- cgit v1.2.3