diff options
| author | 2022-08-07 18:19:16 +0200 | |
|---|---|---|
| committer | 2022-08-07 18:19:16 +0200 | |
| commit | 879b4abde722cb66463ca81a4cf6ac5465ef276d (patch) | |
| tree | cdbd98840bca27317ad0860a194072671ed04ebe /vendor/github.com/tdewolff/minify/v2/Dockerfile | |
| parent | [feature] Photoswipe gallery (#740) (diff) | |
| download | gotosocial-879b4abde722cb66463ca81a4cf6ac5465ef276d.tar.xz | |
[bugfix] Markdown formatting updates (#743)
* add minify dependency specifically for markdown
* rearrange markdown formatting
* update markdown tests
Diffstat (limited to 'vendor/github.com/tdewolff/minify/v2/Dockerfile')
| -rw-r--r-- | vendor/github.com/tdewolff/minify/v2/Dockerfile | 17 |
1 files changed, 17 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..0f7fde443 --- /dev/null +++ b/vendor/github.com/tdewolff/minify/v2/Dockerfile @@ -0,0 +1,17 @@ +# Use this image to build the executable +FROM golang:1.18-alpine AS build + +WORKDIR /go/src/github.com/tdewolff/minify +COPY . /go/src/github.com/tdewolff/minify/ + +RUN apk add --no-cache git ca-certificates make bash +RUN /usr/bin/env bash -c make install + + +# Final image containing the executable from the previous step +FROM alpine:3 + +COPY --from=build /go/bin/minify /usr/bin/minify +COPY "containerfiles/container-entrypoint.sh" "/init.sh" + +ENTRYPOINT ["/init.sh"] |
