diff options
| author | 2021-08-16 19:17:56 +0200 | |
|---|---|---|
| committer | 2021-08-16 19:17:56 +0200 | |
| commit | ce190d867ca126001a1c0417b00810fc03c0b3ba (patch) | |
| tree | 364b00118a405239bc6bcac0bfb7891c83655c23 /vendor/github.com/tdewolff/minify/v2/Dockerfile | |
| parent | Timeline loop fix (#140) (diff) | |
| download | gotosocial-ce190d867ca126001a1c0417b00810fc03c0b3ba.tar.xz | |
Text/status parsing fixes (#141)
* aaaaaa
* vendor minify
* update + test markdown parsing
Diffstat (limited to 'vendor/github.com/tdewolff/minify/v2/Dockerfile')
| -rw-r--r-- | vendor/github.com/tdewolff/minify/v2/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/tdewolff/minify/v2/Dockerfile b/vendor/github.com/tdewolff/minify/v2/Dockerfile new file mode 100644 index 000000000..6cc2de9cc --- /dev/null +++ b/vendor/github.com/tdewolff/minify/v2/Dockerfile @@ -0,0 +1,14 @@ +# Use this image to build the executable +FROM golang:1.16-alpine AS compiler + +WORKDIR $GOPATH/src/minify +COPY . . + +RUN apk add --update --update-cache --no-cache git ca-certificates && \ + GO111MODULES=on CGO_ENABLED=0 go build -ldflags "-s -w" -trimpath -o /bin/minify ./cmd/minify + + +# Final image containing the executable from the previous step +FROM alpine:3 + +COPY --from=compiler /bin/minify /bin/minify |
