Skip to content

Commit

Permalink
chore: add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tback committed Aug 21, 2024
1 parent 8cc54a7 commit f6f3ea0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM hashicorp/terraform:1.9.5 AS base

RUN apk add --no-cache curl

FROM base AS build

WORKDIR /tmp
RUN curl -L -O https://github.com/Azure/kubelogin/releases/download/v0.1.4/kubelogin-linux-amd64.zip
RUN unzip kubelogin-linux-amd64.zip

FROM base
COPY --from=build /tmp/bin/linux_amd64/kubelogin /bin/kubelogin

0 comments on commit f6f3ea0

Please sign in to comment.