From 64e326f56d794b07a4cf6aef16bd655a612025b9 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 2c79af3489..9de7a5cead 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