Skip to content

Commit

Permalink
Merge pull request #4140 from vincepri/capd-golang-based
Browse files Browse the repository at this point in the history
🌱 Use debian-based container for CAPD
  • Loading branch information
k8s-ci-robot authored Feb 4, 2021
2 parents 168bdc7 + e4757e3 commit 4798d19
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/infrastructure/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o /workspace/manager main.go

# Use alpine:latest as minimal base image to package the manager binary and its dependencies
FROM alpine:latest
FROM golang:1.15.7

# install a couple of dependencies
WORKDIR /tmp
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*

RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.19.2/bin/linux/amd64/kubectl && \
chmod +x ./kubectl && \
Expand Down

0 comments on commit 4798d19

Please sign in to comment.