diff --git a/Dockerfile b/Dockerfile index 9086cf74..2f1d7688 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 #### BUILDER #### -FROM eu.gcr.io/gardener-project/3rd/golang:1.15.5 AS builder +FROM eu.gcr.io/gardener-project/3rd/golang:1.16.7 AS builder WORKDIR /go/src/github.com/gardener/component-cli COPY . . @@ -13,10 +13,9 @@ ARG EFFECTIVE_VERSION RUN make install EFFECTIVE_VERSION=$EFFECTIVE_VERSION #### BASE #### -FROM eu.gcr.io/gardenlinux/gardenlinux:184.0 AS base +FROM alpine:3.13.5 AS base -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --yes -o Dpkg::Options::="--force-confnew" install ca-certificates \ - && rm -rf /var/lib/apt /var/cache/apt +RUN apk add --no-cache ca-certificates #### Component CLI #### FROM base as cli