Skip to content

Commit

Permalink
Add preflight required labels. (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
donatwork authored Jan 9, 2025
1 parent 24d7e68 commit 81984d4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,48 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o dell-csi

# Base image
FROM $BASEIMAGE AS container-base
LABEL vendor="Dell Technologies" \
maintainer="Dell Technologies" \
release="1.13.0" \
version="1.11.0" \
license="Apache-2.0"

# Controller
FROM container-base AS controller
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-replication-controller ./
ENTRYPOINT ["/dell-replication-controller"]
LABEL name="dell-replication-controller" \
description="CSI Replication controller" \
summary="Controller which replicates the resources across (or within) Kubernetes clusters"

# Sidecar
FROM container-base AS sidecar
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-replicator ./
ENTRYPOINT ["/dell-csi-replicator"]
LABEL name="dell-csi-replicator" \
description="CSI Replicator sidecar" \
summary="Sidecar used for managing the replication processes"

# Sidecar migrator
FROM container-base AS migrator
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-migrator ./
ENTRYPOINT ["/dell-csi-migrator"]
LABEL name="dell-csi-migrator" \
description="CSI Migrator sidecar" \
summary="Sidecar used for managing the replication processes"

# Sidecar node-rescanner
FROM container-base AS node-rescanner
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-node-rescanner ./
ENTRYPOINT ["/dell-csi-node-rescanner"]
LABEL name="dell-csi-node-rescanner" \
description="CSI Node Rescanner sidecar" \
summary="Sidecar used for managing the replication processes"

0 comments on commit 81984d4

Please sign in to comment.