appimage-builder-docker/Dockerfile

15 lines
770 B
Docker

FROM alpine:3.20.0
LABEL maintainer="Alexander Zhirov <azhirov1991@gmail.com>"
COPY --chmod=0755 build /bin/build
RUN apk add --no-cache binutils rpm2cpio bash fuse wget patch file desktop-file-utils && \
wget https://git.zhirov.kz/alexander/appimage-builder/archive/0.2.0.tar.gz && \
tar xf 0.2.0.tar.gz -C / && rm 0.2.0.tar.gz && \
cd /appimage-builder/src && \
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage && \
wget https://github.com/AppImage/type2-runtime/releases/download/continuous/runtime-x86_64 && \
chmod +x appimagetool-x86_64.AppImage runtime-x86_64 && \
mkdir /input /output /cache
VOLUME /input /output /cache
ENV PATH $PATH:/appimage-builder/src
ENTRYPOINT ["build"]