Skip to content

Commit

Permalink
Enable ubuntu-ports for non-x86 architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
infinity0 committed Sep 12, 2019
1 parent b99fc38 commit 69c2a4e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/docker/aarch64-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc libc6-dev ca-certificates \
Expand Down
3 changes: 3 additions & 0 deletions ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ubuntu:18.04
RUN dpkg --add-architecture armhf && \
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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc libc6-dev ca-certificates \
Expand Down
3 changes: 3 additions & 0 deletions ci/docker/i686-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM ubuntu:18.04
RUN dpkg --add-architecture i386 && \
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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc-multilib libc6-dev ca-certificates \
Expand Down
3 changes: 3 additions & 0 deletions ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM ubuntu:18.04

RUN dpkg --add-architecture ppc64el && \
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 && \
apt-get update && \
apt-get install -y --no-install-recommends \
gcc libc6-dev ca-certificates \
Expand Down

0 comments on commit 69c2a4e

Please sign in to comment.