Skip to content

Commit

Permalink
Add container labels
Browse files Browse the repository at this point in the history
  • Loading branch information
f0o committed Sep 3, 2024
1 parent e0383e7 commit e049feb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ RUN go mod tidy \
&& go build -ldflags="-X github.com/AS203038/looking-glass/server/utils.release=${VERSION}" -o /opt/looking-glass

FROM scratch
LABEL org.opencontainers.image.source https://github.com/AS203038/looking-glass
LABEL org.opencontainers.image.description Yet another looking glass project
LABEL org.opencontainers.image.licenses GPL-3.0-or-later
WORKDIR /
COPY --from=go-builder /opt/looking-glass /looking-glass

ENTRYPOINT ["/looking-glass"]

0 comments on commit e049feb

Please sign in to comment.