Minimal image for running Go binaries.
10K+
Automatically build minimal image for running Go binaries, based on Debian stable.
FROM golang AS builder
RUN mkdir /src /app /app/data
WORKDIR /src
RUN --mount=type=bind,target=. go build -o /app/my-app
FROM ronmi/mingo
COPY --from=builder /app /app
WORKDIR /app
ENTRYPOINT ["/app/my-app"]
YOU CAN NOT RUN ANY COMMAND at final stage.
-v /etc/timezone:/etc/timezone:ro -v /etc/localtime:/etc/localtime:ro)That's all.
You can customize this image by edit Dockerfile and build it by you own.
Content type
Image
Digest
sha256:36033bcbe…
Size
2.4 MB
Last updated
about 23 hours ago
docker pull ronmi/mingo:testing