Skip to content

Commit

Permalink
Swtich to use amazon linux 2 as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Nov 1, 2018
1 parent cbaf6d6 commit 6f12184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 6f12184

Please sign in to comment.