Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Commit

Permalink
update base image to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schrodi committed Aug 18, 2021
1 parent 9fb9670 commit 5a3681a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand All @@ -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
Expand Down

0 comments on commit 5a3681a

Please sign in to comment.