From d0f887a1edf3937a495c54d9a345a36018041b79 Mon Sep 17 00:00:00 2001 From: Steven Pav Date: Fri, 25 Apr 2014 15:21:48 -0700 Subject: [PATCH] explicitly install sudo ```deploy.sh``` in the docker container requires ```sudo```; this should resolve #127. --- dockerfiles/images/gogits/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/images/gogits/Dockerfile b/dockerfiles/images/gogits/Dockerfile index 25d1dd5e5..7f1514efe 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