diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-11-26 06:37:16 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-11-26 06:37:16 +0300 |
commit | f835c8e3198613c58536ca2f0df301f4f9305e67 (patch) | |
tree | 1163763e4c4d52ed608017787a31166778a5d104 /dockerfiles | |
parent | 42ac801099fadad6270b50de6174bb34bc9f6ecb (diff) |
Pin version of minify to 2.5.1
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/Dockerfile.bootstrap | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dockerfiles/Dockerfile.bootstrap b/dockerfiles/Dockerfile.bootstrap index 4d9b2d8e1..74feb34d3 100644 --- a/dockerfiles/Dockerfile.bootstrap +++ b/dockerfiles/Dockerfile.bootstrap @@ -4,8 +4,9 @@ # FROM golang:1.13-alpine AS minifier RUN apk add --no-cache git -RUN go get -d github.com/tdewolff/minify/cmd/minify \ - && go build -v -o /minify github.com/tdewolff/minify/cmd/minify +RUN export GO111MODULE=on \ + && go get -d github.com/tdewolff/minify/v2@v2.5.1 \ + && go build -v -o /minify github.com/tdewolff/minify/cmd/minify # # This is the Nanoc boostrap Dockerfile which builds an image that contains |