Use alpine linux for base docker image
This commit is contained in:
parent
160986cc0b
commit
0a85084b8e
1 changed files with 2 additions and 6 deletions
|
@ -1,11 +1,7 @@
|
||||||
FROM alpine:latest as builder
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates
|
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/
|
ADD surreal /usr/bin/
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/surreal"]
|
ENTRYPOINT ["surreal"]
|
||||||
|
|
Loading…
Reference in a new issue