aboutsummaryrefslogtreecommitdiffstats
path: root/gotty
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-09-05 15:38:41 +0000
committerbloodstalker <thabogre@gmail.com>2020-09-05 15:38:41 +0000
commit2bfa3615828171c6232e450ebed4f505f44b76b6 (patch)
treee8998ab265fbb4e81c966e88210649626578c5c8 /gotty
parentupdate (diff)
downloaddockerimages-2bfa3615828171c6232e450ebed4f505f44b76b6.tar.gz
dockerimages-2bfa3615828171c6232e450ebed4f505f44b76b6.zip
update
Diffstat (limited to '')
-rw-r--r--gotty/Dockerfile1
-rwxr-xr-xgotty/run.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/gotty/Dockerfile b/gotty/Dockerfile
index 754441e..41def52 100644
--- a/gotty/Dockerfile
+++ b/gotty/Dockerfile
@@ -21,4 +21,5 @@ RUN git clone http://github.com/mbbill/undotree ~/.vim/bundle/undotree
RUN git clone http://github.com/terminaldweller/fedora && cd fedora/baseline && cp ./.vimrc ~/.vimrc
RUN go get github.com/yudai/gotty
RUN vim -T xterm +Helptags +qall
+
EXPOSE 9000
diff --git a/gotty/run.sh b/gotty/run.sh
index 2758ae7..c77b18c 100755
--- a/gotty/run.sh
+++ b/gotty/run.sh
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
-docker run -it --entrypoint ash $1
+docker run --network="host" -it --entrypoint zsh $1