From 00262b835d3afb622bd354352c55179be48856aa Mon Sep 17 00:00:00 2001 From: Mike Helfrich Date: Sat, 5 Feb 2022 13:41:50 -0500 Subject: [PATCH] * Simplified the Dockerfile further. * Converted the shell files to LF so that they can run properly between computers. * Added pcmanfm as a File Explorer to the OpenBox menu. --- Dockerfile | 6 +----- menu.xml | 5 +++++ tag_latest_prusaslicer.sh | 1 - 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index d887f4e..68e3dee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN apt-get update -y && \ RUN apt update && apt install -y --no-install-recommends --allow-unauthenticated \ lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \ - freeglut3 libgtk2.0-dev libwxgtk3.0-gtk3-dev libwx-perl libxmu-dev libgl1-mesa-glx libgl1-mesa-dri xdg-utils locales \ + freeglut3 libgtk2.0-dev libwxgtk3.0-gtk3-dev libwx-perl libxmu-dev libgl1-mesa-glx libgl1-mesa-dri xdg-utils locales pcmanfm \ && apt autoclean -y \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* @@ -40,9 +40,6 @@ ADD get_latest_prusaslicer_release.sh /slic3r RUN apt-get update && apt-get install -y \ jq \ curl \ - ca-certificates \ - unzip \ - bzip2 \ git \ --no-install-recommends \ && chmod +x /slic3r/get_latest_prusaslicer_release.sh \ @@ -54,7 +51,6 @@ RUN apt-get update && apt-get install -y \ && tar -xjf ${slic3rReleaseName} -C /slic3r/slic3r-dist --strip-components 1 \ && rm -f /slic3r/${slic3rReleaseName} \ && rm -rf /var/lib/apt/lists/* \ - && apt-get purge -y --auto-remove jq unzip bzip2 \ && apt-get autoclean \ && groupadd slic3r \ && useradd -g slic3r --create-home --home-dir /home/slic3r slic3r \ diff --git a/menu.xml b/menu.xml index 87a6728..63af474 100644 --- a/menu.xml +++ b/menu.xml @@ -11,6 +11,11 @@ /usr/bin/x-terminal-emulator + + + /usr/bin/pcmanfm + + /usr/bin/x-terminal-emulator -e htop diff --git a/tag_latest_prusaslicer.sh b/tag_latest_prusaslicer.sh index 1d972f6..43278fa 100644 --- a/tag_latest_prusaslicer.sh +++ b/tag_latest_prusaslicer.sh @@ -1,5 +1,4 @@ #!/bin/bash -# tagLatestPrusaSlicer.sh # Push a tag for our repository if upstream PrusaSlicer generates a new release # This was forked from https://github.com/dmagyar/prusaslicer-vnc-docker/blob/main/tagLatestPrusaSlicer.sh