Skip to content

Commit

Permalink
Switch to Alpine 3.8 as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Oct 22, 2018
1 parent 290b6d0 commit 8adaf84
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 registry.fedoraproject.org/fedora-minimal
FROM alpine:3.8
RUN apk add --no-cache ca-certificates e2fsprogs
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
RUN microdnf install -y e2fsprogs && microdnf clean all

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

0 comments on commit 8adaf84

Please sign in to comment.