From e68fda07b9cc6190e13c44efbae7bab0f1a2fb4a Mon Sep 17 00:00:00 2001 From: anthonyraymond Date: Fri, 30 Dec 2016 21:05:44 +0100 Subject: [PATCH] Fix purge 'apt-get remove' purge flag --- rpi-Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-Dockerfile b/rpi-Dockerfile index 8295e50..a6a9b87 100644 --- a/rpi-Dockerfile +++ b/rpi-Dockerfile @@ -21,7 +21,7 @@ RUN curl -L "https://storage.googleapis.com/golang/go1.6.1.linux-armv6l.tar.gz" && tar -xzf go.tar.gz -C /usr/local \ && export GOROOT="/usr/local/go" && export GOPATH=`pwd` \ && $GOROOT/bin/go get github.com/mattn/goreman && $GOROOT/bin/go build -o /usr/local/bin/goreman github.com/mattn/goreman \ - && apt-get remove purge --auto-remove git \ + && apt-get remove --purge --auto-remove git \ && rm go.tar.gz && rm -rf $GOROOT && rm -rf $GOPATH/src && rm -rf $GOPATH/pkg \ && unset GOROOT && unset GOPATH