File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,15 @@ COPY --from=xarbuilder /usr/local/lib/libxar.so.1 /usr/local/lib/libxar.so.1
5959COPY --from=xarbuilder /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
6060
6161# Install linux-appimage dependencies
62- # Currently broken
63- # RUN cd /opt \
64- # && curl -LO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage \
65- # && chmod a+x appimagetool-x86_64.AppImage \
66- # && ./appimagetool-x86_64.AppImage --appimage-extract \
67- # && mv squashfs-root appimagetool \
68- # && rm appimagetool-x86_64.AppImage
69- # ENV PATH=/opt/appimagetool/usr/bin:$PATH
62+ # Fixed using https://github.com/AppImage/AppImageKit/issues/828
63+ RUN cd /opt \
64+ && curl -LO https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage \
65+ && chmod a+x appimagetool-x86_64.AppImage \
66+ && sed 's|AI\x 02|\x 00\x 00\x 00|g' -i appimagetool-x86_64.AppImage \
67+ && ./appimagetool-x86_64.AppImage --appimage-extract \
68+ && mv squashfs-root appimagetool \
69+ && rm appimagetool-x86_64.AppImage
70+ ENV PATH=/opt/appimagetool/usr/bin:$PATH
7071
7172# Install linux-snap dependencies (based on https://hub.docker.com/r/snapcore/snapcraft/dockerfile)
7273COPY --from=snapcraft /snap/core /snap/core
You can’t perform that action at this time.
0 commit comments