Skip to content

Commit

Permalink
ci: use LABEL key=value in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfreiling committed Feb 13, 2025
1 parent 3002474 commit 30b8e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN go build -o $GOPATH/bin/ ./lcpencrypt
# Runtime image (LCP) #
#######################
FROM debian:bookworm-slim AS runtime-lcp
LABEL org.opencontainers.image.source https://github.com/notalib/readium-lcp-server
LABEL org.opencontainers.image.source=https://github.com/notalib/readium-lcp-server
WORKDIR /app

RUN apt update && apt install tzdata -y && apt clean
Expand Down Expand Up @@ -71,7 +71,7 @@ CMD ["/app/lcpserver"]
# Runtime image (LSD) #
#######################
FROM runtime-lcp AS runtime-lsd
LABEL org.opencontainers.image.source https://github.com/notalib/readium-lcp-server
LABEL org.opencontainers.image.source=https://github.com/notalib/readium-lcp-server

# Mounted config.yaml decides which ports to use. This is the default from config.localhost.yml.
EXPOSE 8990
Expand Down

0 comments on commit 30b8e1a

Please sign in to comment.