summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-11 09:35:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-11 09:35:19 +0200
commitc3d95d4777abfae59c75721245db5fc4d49e1ef8 (patch)
treea0957995f803007e4df7999e019e590006fe9fc3 /Dockerfile
parent7553e8330a2a50bf663ab0d86d06a0ecf2288a0d (diff)
downloadbootstrap-c3d95d4777abfae59c75721245db5fc4d49e1ef8.tar
bootstrap-c3d95d4777abfae59c75721245db5fc4d49e1ef8.zip
Update to Debian 11, use /build and UID 1000
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
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