Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New docker image #68

Open
faan11 opened this issue Nov 1, 2021 · 1 comment
Open

New docker image #68

faan11 opened this issue Nov 1, 2021 · 1 comment

Comments

@faan11
Copy link

faan11 commented Nov 1, 2021

Hi,

I did the docker image for this repo.
https://hub.docker.com/r/faan11/mustache-cli

You can download it by using:
docker pull image faan11/mustache-cli
and then running by:
docker run -ti faan11/mustache-cli

It can be useful. You may add it to the Readme file.

@geso02
Copy link

geso02 commented Nov 10, 2022

An option to reduce the image size dramatically could be to use the builder approach:

FROM golang:1.19.3-alpine3.16 as builder
RUN go install github.com/cbroglie/mustache/[email protected]

FROM alpine:3.16
COPY --from=builder /go/bin/mustache /usr/local/bin/mustache
ENTRYPOINT ["/usr/local/bin/mustache"]
CMD ["--help"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants