mirror of
https://github.com/go-gitea/gitea
synced 2024-11-10 17:25:54 +01:00
explicitly install sudo
```deploy.sh``` in the docker container requires ```sudo```; this should resolve #127.
This commit is contained in:
parent
37cbfc032a
commit
d0f887a1ed
@ -13,7 +13,7 @@ ENV GOROOT /usr/local/go
|
|||||||
ENV GOPATH /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 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 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
|
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user