diff --git a/Dockerfile b/Dockerfile index 28bb356..025d9f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,14 @@ FROM ubuntu:jammy +COPY toolchains /opt/toolchains +COPY jammy-main.sources /etc/apt/sources.list.d/jammy-main.sources +COPY jammy-ports.sources /etc/apt/sources.list.d/jammy-ports.sources +RUN rm /etc/apt/sources.list +RUN dpkg --add-architecture riscv64 +RUN dpkg --add-architecture arm64 +RUN dpkg --add-architecture armhf +RUN apt update -y +RUN apt install -y cmake build-essential libmbedtls-dev make wget curl crossbuild-essential-armhf crossbuild-essential-riscv64 crossbuild-essential-armhf crossbuild-essential-arm64 libmbedtls-dev:armhf libmbedtls-dev:arm64 libmbedtls-dev:riscv64 -RUN apt update -y | true -RUN apt install -y cmake build-essential libmbedtls-dev make wget curl RUN curl https://git.tesseslanguage.com/api/packages/tesses50/debian/repository.key -o /etc/apt/keyrings/gitea-tesses50.asc RUN echo "deb [signed-by=/etc/apt/keyrings/gitea-tesses50.asc] https://git.tesseslanguage.com/api/packages/tesses50/debian jammy main" | tee -a /etc/apt/sources.list.d/gitea.list RUN apt update -y diff --git a/jammy-main.sources b/jammy-main.sources new file mode 100644 index 0000000..b7d2c3a --- /dev/null +++ b/jammy-main.sources @@ -0,0 +1,6 @@ +Types: deb +URIs: http://archive.ubuntu.com/ubuntu +Suites: jammy jammy-updates jammy-backports +Components: main universe restricted multiverse +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg +Architectures: amd64 \ No newline at end of file diff --git a/jammy-ports.sources b/jammy-ports.sources new file mode 100644 index 0000000..db881b6 --- /dev/null +++ b/jammy-ports.sources @@ -0,0 +1,6 @@ +Types: deb +URIs: http://ports.ubuntu.com/ubuntu-ports/ +Suites: jammy jammy-updates jammy-backports +Components: main universe restricted multiverse +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg +Architectures: armhf,arm64,riscv64 \ No newline at end of file diff --git a/plucky-ports.sources b/plucky-ports.sources index 8975ef4..52510f3 100644 --- a/plucky-ports.sources +++ b/plucky-ports.sources @@ -2,5 +2,5 @@ Types: deb URIs: http://ports.ubuntu.com/ubuntu-ports/ Suites: plucky plucky-updates plucky-backports Components: main universe restricted multiverse -Architectures: arm64 armhf riscv64 -Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg \ No newline at end of file +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg +Architectures: armhf arm64 riscv64 \ No newline at end of file