Skip to content

Commit

Permalink
Use FROM scratch for Tiller proxy (#458)
Browse files Browse the repository at this point in the history
* Use FROM scratch for Tiller proxy

* Copy just the ca-certificates
  • Loading branch information
andresmgot committed Aug 13, 2018
1 parent b9d88d2 commit c874c1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/tiller-proxy/Dockerfile
@@ -1,4 +1,7 @@
FROM alpine:3.6
FROM alpine:3.6 as builder
RUN apk --no-cache add ca-certificates

FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY ./proxy-static /proxy
CMD ["/proxy"]

0 comments on commit c874c1a

Please sign in to comment.