Skip to content

Commit

Permalink
Merge pull request #69 from bertinatto/switch_alpine
Browse files Browse the repository at this point in the history
Switch to Alpine 3.8 as base image
  • Loading branch information
k8s-ci-robot authored Oct 22, 2018
2 parents 6aa96a3 + 8adaf84 commit 3ccbea5
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 3ccbea5

Please sign in to comment.