Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
# set version label
ARG BUILD_DATE
ARG VERSION
ARG FREECAD_VERSION
ARG FREECAD_VERSION="1.0.0"
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"

Expand All @@ -13,14 +13,17 @@ ENV TITLE=FreeCAD
RUN \
echo "**** add icon ****" && \
curl -o \
/kclient/public/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freecad-logo.png && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
freecad \
python3-pyside2.qtwebchannel \
python3-pyside2.qtwebengine* && \
/usr/share/icons/hicolor/48x48/apps/freecad.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freecad-logo.png
RUN \
echo " install freecad from appimage " && \
cd /tmp && \
curl -o /tmp/freecad.app -L https://github.com/FreeCAD/FreeCAD/releases/download/${FREECAD_VERSION}/FreeCAD_${FREECAD_VERSION}-conda-Linux-x86_64-py311.AppImage && \
chmod +x /tmp/freecad.app && \
./freecad.app --appimage-extract && \
mv squashfs-root /opt/freecad && \
ln -s /opt/freecad/AppRun /usr/bin/freecad && \
sed -i 's|</applications>| <application title="FreeCAD*" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
Expand Down
20 changes: 11 additions & 9 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/linuxserver/baseimage-kasmvnc:arm64v8-debianbookworm
# set version label
ARG BUILD_DATE
ARG VERSION
ARG FREECAD_VERSION
ARG FREECAD_VERSION="1.0.0"
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"

Expand All @@ -13,14 +13,16 @@ ENV TITLE=FreeCAD
RUN \
echo "**** add icon ****" && \
curl -o \
/kclient/public/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freecad-logo.png && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
freecad \
python3-pyside2.qtwebchannel \
python3-pyside2.qtwebengine* && \
/usr/share/icons/hicolor/48x48/apps/freecad.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/freecad-logo.png
RUN \
echo " install freecad from appimage " && \
cd /tmp && \
curl -o /tmp/freecad.app -L https://github.com/FreeCAD/FreeCAD/releases/download/${FREECAD_VERSION}/FreeCAD_${FREECAD_VERSION}-conda-Linux-aarch64-py311.AppImage && \
chmod +x /tmp/freecad.app && \
./freecad.app --appimage-extract && \
mv squashfs-root /opt/freecad && \
ln -s /opt/freecad/AppRun /usr/bin/freecad && \
sed -i 's|</applications>| <application title="FreeCAD*" type="normal">\n <maximized>yes</maximized>\n </application>\n</applications>|' /etc/xdg/openbox/rc.xml && \
echo "**** cleanup ****" && \
apt-get autoclean && \
Expand Down