From 6f12184cad4c80a9be06e3ecd5ebdc6e97af328f Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Thu, 1 Nov 2018 14:30:26 -0700 Subject: [PATCH] Swtich to use amazon linux 2 as base image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8aededdd..61d56e3c 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 alpine:3.8 -RUN apk add --no-cache ca-certificates e2fsprogs +FROM amazonlinux:2 +RUN yum install ca-certificates e2fsprogs -y COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver ENTRYPOINT ["/bin/aws-ebs-csi-driver"]