Running dep ensure -vendor-only inside Docker Hangs not able to pull private Repos
问题 My Dockerfile: FROM golang:1.11.4 RUN apt-get update && apt-get install git bash curl -yqq ENV ENV test ENV GIT_TERMINAL_PROMPT=1 ENV GITHUB_TOKEN XXXXXXXXXXXXXXXXXX
RUN curl -Ls https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz | tar xz -C /tmp \ && mv /tmp/linux-amd64/glide /usr/bin/ RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh RUN mkdir -p $GOPATH/src/github.com/<Myrepo>/ COPY . $GOPATH/src/github.com/<Myrepo>/