docker-openscad/Dockerfile
Marcus Noble d933f51db4
Initial release
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2022-02-20 14:01:28 +00:00

13 lines
419 B
Docker

FROM jlesage/baseimage-gui:debian-10
RUN apt-get update && apt-get install -y openscad
RUN sed-patch 's/<application type="normal">/<application type="normal" title="OpenSCAD">/' /etc/xdg/openbox/rc.xml && \
echo "#!/bin/sh\nexport HOME=/home\nexec openscad" > /startapp.sh
ENV APP_NAME="OpenSCAD"
ENV USER_ID=0
ENV GROUP_ID=0
ENV DISPLAY_WIDTH=2340
ENV DISPLAY_HEIGHT=1542
ENV KEEP_APP_RUNNING=1