ci: Improve docker build

Signed-off-by: Yan Minari <yangm97@gmail.com>
This commit is contained in:
Yan Minari 2019-07-18 12:35:21 -03:00
parent 0a039b79ec
commit 70a36ba827
No known key found for this signature in database
GPG key ID: CC7D230C1C6ED7E2
3 changed files with 37 additions and 51 deletions

View file

@ -0,0 +1,10 @@
FROM alpine
ARG BUILDPLATFORM
ENV TARGETPLATFORM=$TARGETPLATFORM
COPY ${TARGETPLATFORM}/* /usr/bin/
COPY contrib/docker/alpine/entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]