Move appimage to its own image
This commit is contained in:
parent
0d3543971d
commit
4892321dfd
6 changed files with 29 additions and 21 deletions
|
@ -17,23 +17,3 @@ RUN git config --global user.name "zontreck"
|
|||
RUN git config --global user.email "tarapiccari@gmail.com"
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
||||
# 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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[global]
|
||||
break-system-packages = true
|
Loading…
Add table
Add a link
Reference in a new issue