Merge pull request #294 from ecnahc515/patch-2

Remove apt-get cleanup from Dockerfile
tokarchuk/v1.17
无闻 10 years ago
commit dcb252eff4
  1. 3
      dockerfiles/images/gogits/Dockerfile

@ -19,9 +19,6 @@ RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
RUN go get -u -d github.com/gogits/gogs RUN go get -u -d github.com/gogits/gogs
RUN cd $GOPATH/src/github.com/gogits/gogs && git checkout dev && git pull origin dev && go install && go build -tags redis RUN cd $GOPATH/src/github.com/gogits/gogs && git checkout dev && git pull origin dev && go install && go build -tags redis
# Clean all the unused packages
RUN apt-get autoremove -y
RUN apt-get clean all
# Add the deploy script to the docker image and assign execution permission to it. # Add the deploy script to the docker image and assign execution permission to it.
ADD ./deploy.sh / ADD ./deploy.sh /

Loading…
Cancel
Save