Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Commit 9757663

Browse files
author
rancher-ci
committed
Fix arm64 build
1 parent 2e7480f commit 9757663

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
FROM golang:1.11.4-stretch
22

3-
RUN dpkg --add-architecture armel \
4-
&& dpkg --add-architecture armhf \
5-
&& dpkg --add-architecture arm64 \
6-
&& dpkg --add-architecture ppc64el \
7-
&& apt-get update && apt-get install -y \
3+
RUN apt-get update && apt-get install -y \
84
build-essential \
95
curl \
106
sudo \
@@ -26,8 +22,7 @@ RUN dpkg --add-architecture armel \
2622
python-minimal \
2723
uidmap \
2824
kmod \
29-
crossbuild-essential-armel crossbuild-essential-armhf crossbuild-essential-arm64 crossbuild-essential-ppc64el \
30-
libseccomp-dev:armel libseccomp-dev:armhf libseccomp-dev:arm64 libseccomp-dev:ppc64el \
25+
libseccomp-dev \
3126
--no-install-recommends \
3227
&& apt-get clean
3328

0 commit comments

Comments
 (0)