Skip to content

Commit

Permalink
Fir appimagetool install
Browse files Browse the repository at this point in the history
This will fix AppImageCrafters#148
  • Loading branch information
lil5 authored Jan 31, 2022
1 parent 5732219 commit 00b4de1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ ADD . /opt/appimage-builder
WORKDIR /opt/appimage-builder
RUN python3 ./setup.py install && rm -rf /opt/appimage-builder

WORKDIR /tmp
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \
chmod +x /tmp/appimagetool-x86_64.AppImage && \
cd /opt && /tmp/appimagetool-x86_64.AppImage --appimage-extract && \
mv squashfs-root appimage-tool.AppDir && \
ln -s /opt/appimage-tool.AppDir/AppRun /usr/bin/appimagetool && \
rm /tmp/appimagetool-x86_64.AppImage
RUN wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage -O /opt/appimagetool \
&& chmod +x /opt/appimagetool \
&& cd /opt/; sed -i 's|AI\x02|\x00\x00\x00|' appimagetool; /opt/appimagetool --appimage-extract \
&& mv /opt/squashfs-root /opt/appimagetool.AppDir \
&& ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool

WORKDIR /tmp
RUN wget https://github.com/NixOS/patchelf/releases/download/0.12/patchelf-0.12.tar.bz2; \
tar -xvf patchelf-0.12.tar.bz2; \
cd patchelf-0.12.20200827.8d3a16e; \
Expand Down

0 comments on commit 00b4de1

Please sign in to comment.