1
0
mirror of https://github.com/tiyn/dockerfiles.git synced 2025-12-31 05:39:46 +01:00

initial commit: migration

Dockerfiles are now stored in one repository
This commit is contained in:
TiynGER
2021-04-30 12:57:46 +02:00
commit d7eefb4443
12 changed files with 2194 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
FROM ubuntu:18.04
MAINTAINER mail@martenkante.de
ENV SERVER_NAME localhost
RUN apt-get update
RUN apt-get install pygopherd -y
ADD run.sh /
RUN chmod +x run.sh
VOLUME /var/gopher
EXPOSE 70
CMD ["./run.sh"]

7
gopher-server/src/run.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
sed -i '30i servername='$SERVER_NAME /etc/pygopherd/pygopherd.conf
/etc/init.d/pygopherd start
while true; do sleep 1000; done