Update Docker build configuration and steps

This commit is contained in:
Tobie Morgan Hitchcock 2022-07-13 10:27:22 +01:00
parent d05d56b20f
commit c195344e36
2 changed files with 6 additions and 5 deletions

View file

@ -1,2 +1,3 @@
*
!surreal
!amd64/surreal
!arm64/surreal

View file

@ -1,7 +1,7 @@
FROM alpine:latest
FROM gcr.io/distroless/cc:latest
RUN apk add --update --no-cache ca-certificates
ARG TARGETARCH
ADD surreal /usr/bin/
ADD $TARGETARCH/surreal /
ENTRYPOINT ["surreal"]
ENTRYPOINT ["/surreal"]