Skip to content

Commit

Permalink
fix(*): use updated label syntax in dockerfile (#530)
Browse files Browse the repository at this point in the history
* fix(collector): use updated label syntax in dockerfile

* fix(alerter): use updated label syntax in dockerfile

* fix(ingestor): use updated label syntax in dockerfile
  • Loading branch information
matucker-msft authored Jan 24, 2025
1 parent 9c45675 commit 1d2c782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/images/Dockerfile.alerter
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/alerter ./cmd/alerte

FROM mcr.microsoft.com/cbl-mariner/distroless/minimal:2.0

LABEL org.opencontainers.image.source https://github.com/Azure/adx-mon
LABEL org.opencontainers.image.source=https://github.com/Azure/adx-mon

COPY --from=builder /code/bin /

Expand Down
2 changes: 1 addition & 1 deletion build/images/Dockerfile.collector
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN tdnf install -y systemd

FROM mcr.microsoft.com/cbl-mariner/distroless/base:2.0

LABEL org.opencontainers.image.source https://github.com/Azure/adx-mon
LABEL org.opencontainers.image.source=https://github.com/Azure/adx-mon

# Binary looks under /usr/lib64 for libsystemd.so and other required so files
# Found with `export LD_DEBUG=libs` and running the binary
Expand Down
2 changes: 1 addition & 1 deletion build/images/Dockerfile.ingestor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/ingestor ./cmd/inges

FROM mcr.microsoft.com/cbl-mariner/distroless/minimal:2.0

LABEL org.opencontainers.image.source https://github.com/Azure/adx-mon
LABEL org.opencontainers.image.source=https://github.com/Azure/adx-mon

COPY --from=builder /code/bin /

Expand Down

0 comments on commit 1d2c782

Please sign in to comment.