From dcd24f97ab424bf7e5bc98d0fb045852ce439502 Mon Sep 17 00:00:00 2001 From: bredo Date: Tue, 19 Nov 2024 14:07:09 +1300 Subject: [PATCH] docker: move to Microsoft supplied dotnet image --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c40553..c857fe9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/voxelbonecloud/debian-dotnet:main +FROM mcr.microsoft.com/dotnet/runtime:8.0-bookworm-slim LABEL author="Voxel Bone Cloud" maintainer="github@voxelbone.cloud" LABEL org.opencontainers.image.source=https://github.com/voxelbonecloud/headless-docker @@ -9,7 +9,8 @@ LABEL org.opencontainers.image.authors="Voxel Bone Cloud" RUN apt update \ && dpkg --add-architecture i386 \ && apt install curl git lib32gcc-s1 libfreetype6 -y \ - && useradd -m -d /home/container -s /bin/bash container + && groupadd -g 1000 container \ + && useradd -u 1000 -g 1000 -m -d /home/container -s /bin/bash container COPY ./scripts /scripts