Use alpine linux for base docker image

This commit is contained in:
Tobie Morgan Hitchcock 2018-03-19 11:47:29 +00:00
parent 160986cc0b
commit 0a85084b8e

View file

@ -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"]