Files
matchbox/Dockerfile
Dalton Hubble 97b6aae19a Add opencontainer container image labels
* Allow automation tools to find the repo source, changelogs, and
other release information via container image labels
2022-12-07 08:04:58 -08:00

14 lines
500 B
Docker

FROM docker.io/golang:1.19.4 AS builder
COPY . src
RUN cd src && make build
FROM docker.io/alpine:3.17.0
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"]