gotosocial/vendor/github.com/tdewolff/minify/v2/Dockerfile
dependabot[bot] f7e5f31c6b
[chore]: Bump github.com/tdewolff/minify/v2 from 2.21.3 to 2.22.3 (#3933)
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.21.3 to 2.22.3.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.21.3...v2.22.3)

---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 10:53:20 +00:00

17 lines
464 B
Docker

# Use this image to build the executable
FROM golang:1.24-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"]