From 9757663b1db79ac1d1d5eca9abda76e54e7d52e0 Mon Sep 17 00:00:00 2001 From: rancher-ci Date: Tue, 5 Feb 2019 21:58:05 -0700 Subject: [PATCH] Fix arm64 build --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 943d24b6..b392af03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,6 @@ FROM golang:1.11.4-stretch -RUN dpkg --add-architecture armel \ - && dpkg --add-architecture armhf \ - && dpkg --add-architecture arm64 \ - && dpkg --add-architecture ppc64el \ - && apt-get update && apt-get install -y \ +RUN apt-get update && apt-get install -y \ build-essential \ curl \ sudo \ @@ -26,8 +22,7 @@ RUN dpkg --add-architecture armel \ python-minimal \ uidmap \ kmod \ - crossbuild-essential-armel crossbuild-essential-armhf crossbuild-essential-arm64 crossbuild-essential-ppc64el \ - libseccomp-dev:armel libseccomp-dev:armhf libseccomp-dev:arm64 libseccomp-dev:ppc64el \ + libseccomp-dev \ --no-install-recommends \ && apt-get clean