From 6ebfbbb4f11c032f0c3fee3aab9cfb30ce717ea6 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 16 Sep 2021 17:33:38 +0200 Subject: Add build helpers --- Containerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Containerfile (limited to 'Containerfile') diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..194d727 --- /dev/null +++ b/Containerfile @@ -0,0 +1,19 @@ +FROM debian:11.0 + +RUN \ + apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get -y install \ + make gcc g++ xz-utils \ + libmpc-dev libmpfr-dev libgmp-dev zlib1g-dev \ + python3-minimal gawk bison rsync \ + && \ + apt-get clean + +RUN mkdir /opt/sysroot + +RUN mkdir /build +RUN useradd -U -u 1000 -d /build -M build +RUN chown build:build /build + +USER build +WORKDIR /build -- cgit v1.2.3