From e2a7864bfc58286df35256a0bcff1732e2d0fca1 Mon Sep 17 00:00:00 2001 From: "U-ES\\sadeghi.f" Date: Sun, 15 Nov 2020 10:29:01 +0330 Subject: update --- godev/Dockerfile | 5 ++++- godev/run.sh | 2 +- 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 -- cgit v1.2.3