From 8adaf849152571d3203b22d0f05a0b3cd5d666a7 Mon Sep 17 00:00:00 2001 From: Fabio Bertinatto Date: Wed, 17 Oct 2018 17:24:00 +0200 Subject: [PATCH] Switch to Alpine 3.8 as base image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c71144d89..8aededdd03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,8 +17,8 @@ WORKDIR /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver ADD . . RUN CGO_ENABLED=0 GOOS=linux go build -o bin/aws-ebs-csi-driver ./cmd/aws-ebs-csi-driver -FROM registry.fedoraproject.org/fedora-minimal +FROM alpine:3.8 +RUN apk add --no-cache ca-certificates e2fsprogs COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver -RUN microdnf install -y e2fsprogs && microdnf clean all ENTRYPOINT ["/bin/aws-ebs-csi-driver"]