Initial commit
This commit is contained in:
commit
2591a807c7
|
|
@ -0,0 +1,58 @@
|
|||
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
|
||||
|
||||
# title
|
||||
ENV TITLE=PrusaSlicer \
|
||||
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install --no-install-recommends -y \
|
||||
firefox-esr \
|
||||
gstreamer1.0-alsa \
|
||||
gstreamer1.0-gl \
|
||||
gstreamer1.0-gtk3 \
|
||||
gstreamer1.0-libav \
|
||||
gstreamer1.0-plugins-bad \
|
||||
gstreamer1.0-plugins-base \
|
||||
gstreamer1.0-plugins-good \
|
||||
gstreamer1.0-plugins-ugly \
|
||||
gstreamer1.0-pulseaudio \
|
||||
gstreamer1.0-qt5 \
|
||||
gstreamer1.0-tools \
|
||||
gstreamer1.0-x \
|
||||
libgstreamer1.0 \
|
||||
libgstreamer-plugins-bad1.0 \
|
||||
libgstreamer-plugins-base1.0 \
|
||||
libwebkit2gtk-4.0-37 \
|
||||
libwx-perl \
|
||||
libgtk-3-0 \
|
||||
unzip \
|
||||
pcmanfm \
|
||||
vim \
|
||||
wget
|
||||
|
||||
|
||||
RUN \
|
||||
echo "**** install prusaslicer from appimage ****" && \
|
||||
cd /tmp && \
|
||||
wget "https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.7.1/PrusaSlicer-2.7.1+linux-x64-GTK3-202312121425.AppImage" -O /tmp/prusa.app && \
|
||||
chmod +x /tmp/prusa.app && \
|
||||
./prusa.app --appimage-extract && \
|
||||
mv squashfs-root /opt/prusaslicer && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get autoclean && \
|
||||
rm -rf \
|
||||
/config/.cache \
|
||||
/config/.launchpadlib \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY /root /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 3000
|
||||
VOLUME /config
|
||||
|
|
@ -0,0 +1 @@
|
|||
/opt/prusaslicer/AppRun
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||
<menu id="root-menu" label="MENU">
|
||||
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
|
||||
<item label="FireFox" icon="/usr/share/icons/hicolor/48x48/apps/firefox-esr.png"><action name="Execute"><command>/usr/bin/firefox</command></action></item>
|
||||
<item label="PrusaSlicer" icon="/opt/prusaslicer/PrusaSlicer.png"><action name="Execute"><command>/opt/prusaslicer/AppRun</command></action></item>
|
||||
<item label="Pcmanfm" icon="/usr/share/icons/Adwaita/48x48/legacy/system-file-manager.png"><action name="Execute"><command>/usr/bin/pcmanfm</command></action></item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
Loading…
Reference in New Issue