Use build args to fix building on macos

This commit is contained in:
Johannes Würbach 2020-04-13 21:37:08 +02:00
parent be9797dc49
commit d6b587d52b
No known key found for this signature in database
GPG key ID: 74DB0F4D956CCCE3
2 changed files with 15 additions and 18 deletions

View file

@ -1,4 +1,6 @@
FROM BASEIMAGE
COPY adapter /
ARG BASEIMAGE
FROM ${BASEIMAGE}
ARG ARCH
COPY ${ARCH}/adapter /
USER 1001:1001
ENTRYPOINT ["/adapter"]