Move appimage to its own image

This commit is contained in:
zontreck 2024-07-24 14:38:51 -07:00
parent 0d3543971d
commit 4892321dfd
6 changed files with 29 additions and 21 deletions

22
AppImage/Dockerfile Normal file
View file

@ -0,0 +1,22 @@
FROM git.zontreck.com/ariascreations/buildenvironments:flutter
# Install AppImage Builder
RUN apt-get install -y python3-pip
WORKDIR /root/.config/pip
ADD pip.conf .
WORKDIR /
RUN python3 -m pip install --upgrade pip
RUN pip3 install appimage-builder
# Install appimagetool AppImage
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
# workaround AppImage issues with Docker
RUN cd /opt/; chmod +x appimagetool; sed -i 's|AI\x02|\x00\x00\x00|' appimagetool; ./appimagetool --appimage-extract
RUN mv /opt/squashfs-root /opt/appimagetool.AppDir
RUN ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool
# Install AppImage requirements
RUN apt-get install -y squashfs-tools zsync

2
AppImage/pip.conf Normal file
View file

@ -0,0 +1,2 @@
[global]
break-system-packages = true