mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
chore(docker): add opencontainers labels to docker image
This commit is contained in:
committed by
Łukasz Mierzwa
parent
f74b778314
commit
7e8093fd50
@@ -24,6 +24,9 @@ ARG VERSION
|
||||
RUN CGO_ENABLED=0 make -C /src VERSION="${VERSION:-dev}" karma
|
||||
|
||||
FROM gcr.io/distroless/base
|
||||
ARG VERSION
|
||||
LABEL org.opencontainers.image.source https://github.com/prymitive/karma
|
||||
LABEL org.opencontainers.image.version ${VERSION}
|
||||
COPY --from=go-builder /src/karma /karma
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/karma"]
|
||||
|
||||
Reference in New Issue
Block a user