Browse Source

Fix crossbuild of Docker images

DarthSim 1 year ago
parent
commit
888ec0da86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docker/build.sh

+ 1 - 0
docker/build.sh

@@ -9,6 +9,7 @@ if [[ $BUILDARCH != $TARGETARCH ]]; then
 
   rm -rf /usr/local/go
 
+  dpkg --add-architecture ${BUILDARCH}
   apt-get update
   apt-get install -y --no-install-recommends libstdc++6:${BUILDARCH}