21 lines
805 B
Docker
21 lines
805 B
Docker
FROM git.zontreck.com/ariascreations/buildenvironments:flutter
|
|
|
|
|
|
|
|
# Install AppImage Builder
|
|
RUN apt-get install -y python3-pip
|
|
RUN python3 -m pip config set global.break-system-packages true
|
|
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 appstream
|