Move appimage to its own image
This commit is contained in:
parent
0d3543971d
commit
4892321dfd
6 changed files with 29 additions and 21 deletions
22
AppImage/Dockerfile
Normal file
22
AppImage/Dockerfile
Normal 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
2
AppImage/pip.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[global]
|
||||
break-system-packages = true
|
Loading…
Add table
Add a link
Reference in a new issue