From 0a85084b8ee34a9f00e39cb10ac75f6940421607 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 19 Mar 2018 11:47:29 +0000 Subject: [PATCH] Use alpine linux for base docker image --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2989433e..6a0aec37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ -FROM alpine:latest as builder +FROM alpine:latest RUN apk add --update --no-cache ca-certificates -FROM scratch - -COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt - ADD surreal /usr/bin/ -ENTRYPOINT ["/usr/bin/surreal"] +ENTRYPOINT ["surreal"]