Files
DebBuilder/Dockerfile
2026-02-04 21:26:06 -06:00

16 lines
935 B
Docker

FROM ubuntu:jammy
COPY toolchains /opt/toolchains
COPY jammy.sources /etc/apt/sources.list.d/ubuntu.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 gnupg2 crossbuild-essential-armhf crossbuild-essential-riscv64 crossbuild-essential-armhf crossbuild-essential-arm64 libmbedtls-dev:armhf libmbedtls-dev:arm64 libmbedtls-dev:riscv64
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
# Install Node.js and npm
RUN apt-get install -y nodejs
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