Merge pull request #129 from shabbychef/patch-1

explicitly install sudo
tokarchuk/v1.17
无闻 11 years ago
commit 83578cff65
  1. 2
      dockerfiles/images/gogits/Dockerfile

@ -13,7 +13,7 @@ ENV GOROOT /usr/local/go
ENV GOPATH /go
RUN apt-get update && apt-get install --yes --force-yes curl git mercurial zip wget ca-certificates build-essential
RUN apt-get install -yq vim
RUN apt-get install -yq vim sudo
RUN curl -s http://docker.u.qiniudn.com/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1

Loading…
Cancel
Save