use TARGETPLATFORM in dockerfiles and adjust armv6 reference

This commit is contained in:
mlsmaycon
2026-06-16 08:59:36 +02:00
parent 5318dbb818
commit 74edfbcc0c
9 changed files with 24 additions and 18 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
FROM gcr.io/distroless/base:debug
ENTRYPOINT [ "/go/bin/netbird-upload" ]
COPY netbird-upload /go/bin/netbird-upload
ARG TARGETPLATFORM
COPY ${TARGETPLATFORM}/netbird-upload /go/bin/netbird-upload