Skip to content

Commit

Permalink
Merge pull request #91 from leakingtapan/alinux
Browse files Browse the repository at this point in the history
Swtich to use amazon linux 2 as base image
  • Loading branch information
k8s-ci-robot authored Nov 2, 2018
2 parents cbaf6d6 + 6f12184 commit 1cc8754
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 1cc8754

Please sign in to comment.