From 4e554eb2a771d8751279d0baacb2ea51767f650d Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Mon, 2 Dec 2024 03:02:00 -0500 Subject: [PATCH] add labels to binary / frontend images --- bin/binaries.Dockerfile | 6 +++++- frontend/Dockerfile | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bin/binaries.Dockerfile b/bin/binaries.Dockerfile index 04ae81538..df64093ac 100644 --- a/bin/binaries.Dockerfile +++ b/bin/binaries.Dockerfile @@ -20,4 +20,8 @@ RUN \ FROM scratch COPY --from=builder /builder/target/release/core /core -COPY --from=builder /builder/target/release/periphery /periphery \ No newline at end of file +COPY --from=builder /builder/target/release/periphery /periphery + +LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.description="Komodo Periphery" +LABEL org.opencontainers.image.licenses=GPL-3.0 \ No newline at end of file diff --git a/frontend/Dockerfile b/frontend/Dockerfile index ee55295d6..de0de06f4 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -15,4 +15,9 @@ RUN cd frontend && yarn link komodo_client && yarn && yarn build # Copy just the static frontend to scratch image FROM scratch -COPY --from=builder /builder/frontend/dist /frontend \ No newline at end of file + +COPY --from=builder /builder/frontend/dist /frontend + +LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo +LABEL org.opencontainers.image.description="Komodo Periphery" +LABEL org.opencontainers.image.licenses=GPL-3.0 \ No newline at end of file