From c3d95d4777abfae59c75721245db5fc4d49e1ef8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 11 Sep 2021 09:35:19 +0200 Subject: Update to Debian 11, use /build and UID 1000 --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index b6247bb..f184678 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM debian:10.10 +FROM debian:11.0 RUN apt-get update && apt-get -y install build-essential && apt-get clean RUN mkdir /opt/sysroot -RUN mkdir /home/build -RUN useradd -r -U -u 800 -d /work -M build -RUN chown build:build /home/build +RUN mkdir /build +RUN useradd -r -U -u 1000 -d /build -M build +RUN chown build:build /build USER build -WORKDIR /home/build +WORKDIR /build -- cgit v1.2.3