aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--godev/Dockerfile5
-rwxr-xr-xgodev/run.sh2
2 files changed, 5 insertions, 2 deletions
diff --git a/godev/Dockerfile b/godev/Dockerfile
index c05cb86..6342a85 100644
--- a/godev/Dockerfile
+++ b/godev/Dockerfile
@@ -69,8 +69,11 @@ RUN vim -c "PluginInstall" -c "qa!"
RUN vim -c "GoInstallBinaries" -c "qa!"
# project stuff
-RUN gvm install go1.13 && gvm use go1.13 --default
+# RUN ln -sf /bin/zsh /bin/sh
+# RUN gvm install go1.13 && gvm use go1.13 --default
+# RUN ln -sf /bin/busybox /bin/sh
RUN go get github.com/go-delve/delve/cmd/dlv
+RUN go get golang.org/x/tools/cmd/godoc
RUN go get github.com/go-kit/kit/transport/http
RUN go get github.com/go-kit/kit/endpoint
RUN (cd /root && git clone https://github.com/terminaldweller/gocrucible)
diff --git a/godev/run.sh b/godev/run.sh
index c77b18c..7432120 100755
--- a/godev/run.sh
+++ b/godev/run.sh
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
-docker run --network="host" -it --entrypoint zsh $1
+docker run -p 9002:9000 -it --entrypoint zsh $1