Skip to content

Commit 7511324

Browse files
Matthew Wongvdhanan
authored andcommitted
Update base images: yum update al2, bump debian tag
1 parent 83a49f1 commit 7511324

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ COPY . .
1818
RUN make
1919

2020
FROM amazonlinux:2 AS amazonlinux
21+
RUN yum update -y
2122
RUN yum install ca-certificates e2fsprogs xfsprogs util-linux -y
2223
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
2324

2425
ENTRYPOINT ["/bin/aws-ebs-csi-driver"]
2526

26-
FROM k8s.gcr.io/build-image/debian-base:v2.1.3 AS debian-base
27+
FROM k8s.gcr.io/build-image/debian-base:buster-v1.8.0 AS debian-base
2728
RUN clean-install ca-certificates e2fsprogs mount udev util-linux xfsprogs
2829
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
2930

0 commit comments

Comments
 (0)