| 1 |
FROM debian-12 |
| 2 |
|
| 3 |
# minisign only needed for signing in pipeline |
| 4 |
RUN apt-get -qqy update \ |
| 5 |
&& apt-get upgrade -qqy \ |
| 6 |
&& apt-get install -qqy --no-install-recommends \ |
| 7 |
cimg-dev \ |
| 8 |
desktop-file-utils \ |
| 9 |
file \ |
| 10 |
git \ |
| 11 |
libgcrypt20-dev \ |
| 12 |
libgpgme-dev \ |
| 13 |
libjpeg-dev \ |
| 14 |
minisign \ |
| 15 |
patchelf \ |
| 16 |
squashfs-tools \ |
| 17 |
wget \ |
| 18 |
&& apt-get clean |
| 19 |
|
| 20 |
RUN \ |
| 21 |
git clone --depth 1 --branch 1-alpha-20250213-2 https://github.com/linuxdeploy/linuxdeploy --recurse-submodules && \ |
| 22 |
cd linuxdeploy && cp src/core/copyright/copyright.h src/core && \ |
| 23 |
cmake -B build -S . \ |
| 24 |
-DCMAKE_BUILD_TYPE=Release \ |
| 25 |
-DCMAKE_INSTALL_PREFIX=/usr/local \ |
| 26 |
-DBUILD_TESTING=OFF \ |
| 27 |
-DUSE_CCACHE=OFF \ |
| 28 |
&& cmake --build build --target install && \ |
| 29 |
cd .. && \ |
| 30 |
rm -rf linuxdeploy |
| 31 |
|
| 32 |
RUN \ |
| 33 |
git clone --depth 1 --branch continuous https://github.com/AppImage/appimagetool.git && \ |
| 34 |
cd appimagetool && \ |
| 35 |
cmake -B build -S . \ |
| 36 |
-DCMAKE_BUILD_TYPE=Release \ |
| 37 |
-DCMAKE_INSTALL_PREFIX=/usr/local \ |
| 38 |
&& cmake --build build --target install && \ |
| 39 |
cd .. && \ |
| 40 |
rm -rf appimagetool |