aboutsummaryrefslogtreecommitdiffstats
path: root/godev
diff options
context:
space:
mode:
authorU-ES\sadeghi.f <thabogre@gmail.com>2020-11-15 06:59:01 +0000
committerU-ES\sadeghi.f <thabogre@gmail.com>2020-11-15 06:59:01 +0000
commite2a7864bfc58286df35256a0bcff1732e2d0fca1 (patch)
treeb283d2e6b50113d6fd60c3383f6e42844d13cde5 /godev
parentsome hotfixes for the dev docker image (diff)
downloaddockerimages-e2a7864bfc58286df35256a0bcff1732e2d0fca1.tar.gz
dockerimages-e2a7864bfc58286df35256a0bcff1732e2d0fca1.zip
update
Diffstat (limited to 'godev')
-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