From 78103f1df3d89cbf5b3a75188e2ea097d2a8ca9f Mon Sep 17 00:00:00 2001 From: Chance Zibolski Date: Mon, 21 Jul 2014 20:20:35 -0700 Subject: Remove apt-get cleanup from Dockerfile Purging/cleaning packages using apt doesn't actually reduce image size, and only creates additional layers, which doesn't add any benefit to the overall image. --- dockerfiles/images/gogits/Dockerfile | 3 --- 1 file changed, 3 deletions(-) (limited to 'dockerfiles') diff --git a/dockerfiles/images/gogits/Dockerfile b/dockerfiles/images/gogits/Dockerfile index 1f67d41e..80801a09 100644 --- a/dockerfiles/images/gogits/Dockerfile +++ b/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 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 ./deploy.sh / -- cgit v1.2.3 From 1661421a65ba73d28bff8fe33a5fdea16fb227c4 Mon Sep 17 00:00:00 2001 From: Lars Gregori Date: Sun, 24 Aug 2014 12:39:01 +0200 Subject: update dockerfiles README.md typo --- dockerfiles/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dockerfiles') diff --git a/dockerfiles/README.md b/dockerfiles/README.md index fc27bdf4..11d28d0f 100644 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -17,7 +17,7 @@ cd dockerfiles ./build.sh ``` -The build might take some time, just be paient. After it finishes, you will receive the message: +The build might take some time, just be patient. After it finishes, you will receive the message: ``` Now we have the MySQL image(running) and gogs image, use the follow command to start gogs service( the content might be different, according to your own configs): -- cgit v1.2.3