diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-22 23:04:09 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-01-09 21:33:25 +0100 |
| commit | 7e4105c54294e28d4cf2ec94c8746ed47e7ae532 (patch) | |
| tree | 07309b502c179d5cf627c3bf48fea070d4372442 /Dockerfile | |
| parent | 7dfb196b54da0e4aaa3119a6bd6ffd54fa404ce6 (diff) | |
Use appimage-builder fork
The upstream version distributed by pip3 fetches several blobs from
github.com we have no control over. Instead, the fork retrieves them
from repositories under the speed-dreams organization. [1][2]
[1]: https://forge.a-lec.org/speed-dreams/AppImageKit
[2]: https://forge.a-lec.org/speed-dreams/libappimage
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -44,11 +44,20 @@ RUN cmake -B build RUN cmake --build build/ -j$(nproc) RUN cmake --install build/ +FROM forge.a-lec.org/speed-dreams/ubuntu:focal AS appimage-builder +COPY --from=python /usr/local/ /usr/local/ +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \ + git +RUN git clone https://forge.a-lec.org/speed-dreams/appimage-builder +WORKDIR appimage-builder +RUN pip3 install . + FROM forge.a-lec.org/speed-dreams/ubuntu:focal AS tools COPY --from=python /usr/local/ /usr/local/ COPY --from=cmake /usr/local/ /usr/local/ COPY --from=cjson /usr/local/ /usr/local/ -RUN pip3 install appimage-builder +COPY --from=appimage-builder /usr/local/ /usr/local/ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -qq -y install \ fakeroot \ @@ -92,6 +101,4 @@ RUN git clone https://forge.a-lec.org/speed-dreams/forgejo-clone.git FROM tools COPY --from=upload-artifact upload-artifact/upload-artifact /usr/local/bin/ COPY --from=forgejo-clone forgejo-clone/forgejo-clone /usr/local/bin/ -COPY AppImageBuilder.yml /AppImageBuilder.yml -COPY package.py /usr/local/lib/python3.10/site-packages/appimagebuilder/modules/deploy/apt/package.py ENTRYPOINT ["/bin/bash"] |
