From 62d6180c55ff130fc55d1ece26e3a931a65b766a Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 22 Mar 2025 07:06:48 +0000 Subject: [PATCH] Updated to latest ubuntu base image Signed-off-by: Marcus Noble --- Dockerfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ccdde58..0eaa87a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,20 @@ -FROM jlesage/baseimage-gui:debian-10 +FROM jlesage/baseimage-gui:ubuntu-24.04-v4.7.1 + # Install app RUN apt-get update && apt-get install -y openscad - RUN sed-patch 's///' /etc/xdg/openbox/rc.xml && \ - echo "#!/bin/sh\nexport HOME=/home\nexec openscad" > /startapp.sh + # Setup dirs and files + RUN mkdir -p /home/openscad + RUN echo "#!/bin/sh\nexec openscad" > /startapp.sh + # Internal env vars ENV APP_NAME="OpenSCAD" + ENV HOME="/home/openscad" + + # User ENV USER_ID=0 ENV GROUP_ID=0 + + # App config ENV DISPLAY_WIDTH=2340 ENV DISPLAY_HEIGHT=1542 ENV KEEP_APP_RUNNING=1