Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion integrations/access/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN tar -xzvf /plugin.tar.gz && \

# Create the image with the build operator on the $TARGETPLATFORM
# TARGETPLATFORM is provided by Docker/buildx
FROM --platform=${TARGETPLATFORM} ${BASE_IMAGE}
# --platform=${TARGETPLATFORM} is set by default and the docker linter complains if we set it.
FROM ${BASE_IMAGE}
WORKDIR /
COPY --from=extractor /teleport-plugin /usr/local/bin/teleport-plugin

Expand Down
3 changes: 2 additions & 1 deletion integrations/event-handler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN tar -xzvf /plugin.tar.gz && \

# Create the image with the build operator on the $TARGETPLATFORM
# TARGETPLATFORM is provided by Docker/buildx
FROM --platform=${TARGETPLATFORM} ${BASE_IMAGE}
# --platform=${TARGETPLATFORM} is set by default and the docker linter complains if we set it.
FROM ${BASE_IMAGE}
WORKDIR /
COPY --from=extractor /teleport-plugin /usr/local/bin/teleport-plugin

Expand Down
3 changes: 2 additions & 1 deletion integrations/kube-agent-updater/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN echo "Targeting $TARGETOS/$TARGETARCH" && \

# Create the image with the build operator on the $TARGETPLATFORM
# TARGETPLATFORM is provided by Docker/buildx
FROM --platform=$TARGETPLATFORM $BASE_IMAGE
# --platform=${TARGETPLATFORM} is set by default and the docker linter complains if we set it.
FROM $BASE_IMAGE
WORKDIR /
COPY --from=builder /go/bin/teleport-kube-agent-updater .

Expand Down
3 changes: 2 additions & 1 deletion integrations/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ RUN echo "Targeting $TARGETOS/$TARGETARCH with CC=$COMPILER_NAME" && \

# Create the image with the build operator on the $TARGETPLATFORM
# TARGETPLATFORM is provided by Docker/buildx
FROM --platform=$TARGETPLATFORM $BASE_IMAGE
# --platform=${TARGETPLATFORM} is set by default and the docker linter complains if we set it.
FROM $BASE_IMAGE
WORKDIR /
COPY --from=builder /go/bin/teleport-operator .

Expand Down
5 changes: 3 additions & 2 deletions integrations/operator/Dockerfile.gha
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG BASE_IMAGE=gcr.io/distroless/cc-debian12

# BUILDPLATFORM is provided by Docker/buildx
FROM --platform=$BUILDPLATFORM docker.io/debian:12 as builder
FROM --platform=$BUILDPLATFORM docker.io/debian:12 AS builder
ARG BUILDARCH

## Install dependencies.
Expand Down Expand Up @@ -100,7 +100,8 @@ RUN case "$TARGETARCH" in \

# Create the image with the build operator on the $TARGETPLATFORM
# TARGETPLATFORM is provided by Docker/buildx
FROM --platform=$TARGETPLATFORM $BASE_IMAGE
# --platform=${TARGETPLATFORM} is set by default and the docker linter complains if we set it.
FROM $BASE_IMAGE
WORKDIR /
COPY --from=builder /go/bin/teleport-operator .

Expand Down
Loading