diff --git a/Dockerfile b/Dockerfile index 1ffe9f3..322643a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Fetch arm64 Mobian Bookworm Image | Sync Public Keys | Update FROM registry.salsa.debian.org/mobian-team/docker-images/mobian-builder-arm64:bookworm RUN rm /etc/apt/trusted.gpg.d/mobian* -f -RUN curl -s https://repo.mobian.org/mobian.gpg | tee /etc/apt/trusted.gpg.d/mobian.gpg > /dev/null +RUN cd /etc/apt/trusted.gpg.d/ && wget https://repo.mobian.org/mobian.gpg && echo "efc2c98411f7a45e9019d9f9fd21f958c7df240e4dab931765abd6e038160cfd15af287862a559943ca1d89027d6afe2e9354a041ae355283b400fb3c44af1a5 mobian.gpg" > mobian.sum && bash -c 'if [[ $(sha512sum -c mobian.sum) == "mobian.gpg: OK" ]]; then echo "mobian.gpg: Checksum Matched!"; else rm -f mobian.gpg; fi;' RUN apt update RUN apt upgrade -y RUN apt install -y build-essential generate-ninja ninja-build rubygems git-lfs pkg-config libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev @@ -23,6 +23,7 @@ RUN mkdir /Signal-Desktop/release/ # Fetch fficonfig.h RUN cd /usr/include/aarch64-linux-gnu/ && wget https://github.com/node-ffi-napi/node-ffi-napi/raw/master/deps/libffi/config/linux/arm64/fficonfig.h && echo "56c9800d0388dd20a85ad917a75a0dc96aa0de95db560e586b540e657a7a10ec8ef9759f1d09d7cb2f0861c9b88650246a9ace97708a20d8757bcd0c559333a7 fficonfig.h" > fficonfig.sum && bash -c 'if [[ $(sha512sum -c fficonfig.sum) == "fficonfig.h: OK" ]]; then echo "fficonfig.h: Checksum Matched!"; else rm -f fficonfig.h; fi;' + # Copy Files COPY .private.key /Signal-Desktop/release/ COPY builds/release/public.key /Signal-Desktop/release/