From f004489503f7692e8def6dc8fa43583726066454 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Thu, 22 Jul 2021 10:50:30 -0700 Subject: [PATCH] Update base images: yum update al2, bump debian tag --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aa6464e644..d974968d1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,12 +18,13 @@ COPY . . RUN make FROM amazonlinux:2 AS amazonlinux +RUN yum update -y RUN yum install ca-certificates e2fsprogs xfsprogs util-linux -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"] -FROM k8s.gcr.io/build-image/debian-base:v2.1.3 AS debian-base +FROM k8s.gcr.io/build-image/debian-base:buster-v1.8.0 AS debian-base RUN clean-install ca-certificates e2fsprogs mount udev util-linux xfsprogs COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver