aboutsummaryrefslogtreecommitdiffstats
path: root/dockerfiles
diff options
context:
space:
mode:
authorSteven Pav <shabbychef@gmail.com>2014-04-25 15:21:48 -0700
committerSteven Pav <shabbychef@gmail.com>2014-04-25 15:21:48 -0700
commitd0f887a1edf3937a495c54d9a345a36018041b79 (patch)
tree09211fa2178b7c4b699bb8a76744a389e0874f21 /dockerfiles
parent37cbfc032a6dc92293401622977f3076c710fed9 (diff)
downloadgitea-d0f887a1edf3937a495c54d9a345a36018041b79.tar.gz
gitea-d0f887a1edf3937a495c54d9a345a36018041b79.zip
explicitly install sudo
```deploy.sh``` in the docker container requires ```sudo```; this should resolve #127.
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/images/gogits/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dockerfiles/images/gogits/Dockerfile b/dockerfiles/images/gogits/Dockerfile
index 25d1dd5e5c..7f1514efeb 100644
--- a/dockerfiles/images/gogits/Dockerfile
+++ b/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