pidgin/builders

2de2f8c8bb9e
Add json-glib-tools to the debian based images
FROM pidgin/builders:debian-bookworm-amd64
ENV APPIMAGETOOL_URL=https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
RUN set -ex && \
wget ${APPIMAGETOOL_URL} -O /opt/appimagetool && \
chmod +x /opt/appimagetool && \
cd /opt/ && \
/opt/appimagetool --appimage-extract && \
mv /opt/squashfs-root /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool && \
rm /opt/appimagetool
RUN set -ex && \
apt-get update && \
apt-get install -y python3-pip patchelf squashfs-tools-ng && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists && \
pip3 install git+https://github.com/AppImageCrafters/appimage-builder.git
# make sure that gdk-pixbuf-query-loaders ends up on the path
ENV PATH=/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0:$PATH
COPY build-appimage.sh /usr/local/bin/build.sh
CMD ["build.sh"]