Files
matchbox-poseidon/Dockerfile
dghubble-renovate[bot] e0336149e4 Bump docker.io/golang image from 1.25.7 to v1.26.0 (#1542)
Co-authored-by: dghubble-renovate[bot] <119624128+dghubble-renovate[bot]@users.noreply.github.com>
2026-02-11 12:42:01 +00:00

14 lines
500 B
Docker

FROM docker.io/golang:1.26.0 AS builder
COPY . src
RUN cd src && make build
FROM docker.io/alpine:3.23.3
LABEL maintainer="Dalton Hubble <dghubble@gmail.com>"
LABEL org.opencontainers.image.title="Matchbox",
LABEL org.opencontainers.image.source="https://github.com/poseidon/matchbox"
LABEL org.opencontainers.image.documentation="https://matchbox.psdn.io"
LABEL org.opencontainers.image.vendor="Poseidon Labs"
COPY --from=builder /go/src/bin/matchbox /matchbox
EXPOSE 8080
ENTRYPOINT ["/matchbox"]