Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
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
5 changes: 3 additions & 2 deletions access/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Build the plugin binary
ARG GO_VERSION
ARG BASE_IMAGE=gcr.io/distroless/static-debian12

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bookworm as builder

ARG ACCESS_PLUGIN
ARG GITREF
Expand All @@ -22,7 +23,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/base@sha256:03dcbf61f859d0ae4c69c6242c9e5c3d7e1a42e5d3b69eb235e81a5810dd768e
FROM $BASE_IMAGE
ARG ACCESS_PLUGIN
COPY --from=builder /workspace/access/${ACCESS_PLUGIN}/build/teleport-${ACCESS_PLUGIN} /usr/local/bin/teleport-plugin

Expand Down
5 changes: 3 additions & 2 deletions event-handler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Build the plugin binary
ARG GO_VERSION
ARG BASE_IMAGE=gcr.io/distroless/static-debian12

FROM golang:${GO_VERSION}-bullseye as builder
FROM golang:${GO_VERSION}-bookworm as builder

ARG GITREF

Expand All @@ -21,7 +22,7 @@ RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/base@sha256:03dcbf61f859d0ae4c69c6242c9e5c3d7e1a42e5d3b69eb235e81a5810dd768e
FROM $BASE_IMAGE

COPY --from=builder /workspace/event-handler/build/teleport-event-handler /usr/local/bin/teleport-event-handler

Expand Down
2 changes: 1 addition & 1 deletion event-handler/build.assets/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG GO_VER
FROM golang:${GO_VER}-bullseye
FROM golang:${GO_VER}-bookworm

ARG UID
ARG GID
Expand Down