diff --git a/linux_dist/appimage/Dockerfile b/linux_dist/appimage/Dockerfile index 77106f31..d2289ca5 100644 --- a/linux_dist/appimage/Dockerfile +++ b/linux_dist/appimage/Dockerfile @@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -y && \ apt-get upgrade -y && \ - apt-get install python3-pip python3-setuptools python3-wheel wget fuse binutils coreutils desktop-file-utils fakeroot patchelf squashfs-tools strace zsync libgdk-pixbuf2.0-dev gtk-update-icon-cache -y && \ + apt-get install --no-install-recommends python3-pip python3-setuptools python3-wheel wget fuse binutils coreutils desktop-file-utils fakeroot patchelf squashfs-tools strace zsync libgdk-pixbuf2.0-dev gtk-update-icon-cache file -y && \ mkdir /build && cd /build && \ wget https://github.com/AppImageCrafters/appimage-builder/releases/download/v0.9.2/appimage-builder-0.9.2-35e3eab-x86_64.AppImage -O appimage-builder && \ wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage -O appimage-tool && \ @@ -15,6 +15,4 @@ RUN apt-get update -y && \ WORKDIR /build -COPY AppImageBuilder.yml /build - CMD [ "appimage-builder", "--skip-tests"] diff --git a/linux_dist/appimage/build.sh b/linux_dist/appimage/build.sh index 672d86cc..feadf42e 100755 --- a/linux_dist/appimage/build.sh +++ b/linux_dist/appimage/build.sh @@ -1,5 +1,5 @@ #!/bin/bash set -Ceufox pipefail -docker build -t bauh-appimage . && \ -docker run -e BAUH_VERSION=$BAUH_VERSION --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage +docker build -t bauh-appimage . +docker run -e BAUH_VERSION=$BAUH_VERSION -v ./AppImageBuilder.yml:/build/AppImageBuilder.yml --rm --cap-add=SYS_ADMIN --device /dev/fuse --mount type=bind,source="$(pwd)",target=/build bauh-appimage