TARGETARCH/TARGETPLATFORM are only set when using docker buildx. Fall back to uname -m detection for plain docker build.