diff --git a/client/Dockerfile-rootless b/client/Dockerfile-rootless index 706bf40de..f8c50559c 100644 --- a/client/Dockerfile-rootless +++ b/client/Dockerfile-rootless @@ -27,7 +27,7 @@ ENV \ NB_ENTRYPOINT_SERVICE_TIMEOUT="30" ENTRYPOINT [ "/usr/local/bin/netbird-entrypoint.sh" ] - -ARG NETBIRD_BINARY=netbird +ARG TARGETPLATFORM=. +ARG NETBIRD_BINARY=${TARGETPLATFORM}/netbird COPY client/netbird-entrypoint.sh /usr/local/bin/netbird-entrypoint.sh COPY "${NETBIRD_BINARY}" /usr/local/bin/netbird