From 61c966bf273a5436b859a472d8b0016bc66c08e5 Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Mon, 9 Sep 2019 19:32:06 -0700 Subject: [PATCH] [WIP] Enable ubuntu-ports for non-x86 architectures --- ci/docker/aarch64-unknown-linux-gnu/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/docker/aarch64-unknown-linux-gnu/Dockerfile b/ci/docker/aarch64-unknown-linux-gnu/Dockerfile index 2d89240a..022feb8e 100644 --- a/ci/docker/aarch64-unknown-linux-gnu/Dockerfile +++ b/ci/docker/aarch64-unknown-linux-gnu/Dockerfile @@ -1,5 +1,8 @@ FROM ubuntu:18.04 RUN dpkg --add-architecture arm64 && \ + sed -e "\,security.ubuntu.com/ubuntu,p;s,security.ubuntu.com/ubuntu,ports.ubuntu.com/ubuntu-ports,g" \ + -e "\,archive.ubuntu.com/ubuntu,p;s,archive.ubuntu.com/ubuntu,ports.ubuntu.com/ubuntu-ports,g" \ + -i /etc/apt/sources.list /etc/apt/sources.list.d/* && \ apt-get update && \ apt-get install -y --no-install-recommends \ gcc libc6-dev ca-certificates \