Update Docker build configuration and steps
This commit is contained in:
parent
d05d56b20f
commit
c195344e36
2 changed files with 6 additions and 5 deletions
|
@ -1,2 +1,3 @@
|
|||
*
|
||||
!surreal
|
||||
!amd64/surreal
|
||||
!arm64/surreal
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue