From cbe673e11560d10c826616bd88c206a1dacd54bf Mon Sep 17 00:00:00 2001 From: Shant Tchatalbachian <10482171+0mniteck@users.noreply.github.com> Date: Mon, 12 Aug 2024 11:32:03 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9ae612..09c1704 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # Sync Public Keys FROM registry.salsa.debian.org/mobian-team/docker-images/mobian-builder-arm64:bookworm RUN rm /etc/apt/trusted.gpg.d/mobian* -f -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 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 echo "mobian.gpg: Checksum Mismatch!" & rm -f mobian.gpg; fi;' # Update and Install Deps RUN apt update @@ -17,7 +17,7 @@ ENV USE_SYSTEM_FPM=true # Node via NVM-SH ENV HOME="/root" ENV NVM_DIR="$HOME/.nvm" -RUN wget https://github.com/nvm-sh/nvm/raw/v0.40.0/install.sh && echo "d5f202cb58a5ab7e7c3d7311a1042c00dbd723af6b1d68b4913971832c0b59a106e56560b2d8f3a4f852105d13b845b10b02e1d9de3d9b7a5b5f5ec7e66f739d install.sh" > install.sum && bash -c 'if [[ $(sha512sum -c install.sum) == "install.sh: OK" ]]; then echo "install.sh: Checksum Matched!"; else remove -f install.sh; fi' && chmod +x install.sh && ./install.sh && . $NVM_DIR/nvm.sh && nvm install 20.15.1 && nvm use 20.15.1 && npm install --location=global npm@latest && npm install --location=global canvas yarn node-gyp npm-run-all +RUN wget https://github.com/nvm-sh/nvm/raw/v0.40.0/install.sh && echo "d5f202cb58a5ab7e7c3d7311a1042c00dbd723af6b1d68b4913971832c0b59a106e56560b2d8f3a4f852105d13b845b10b02e1d9de3d9b7a5b5f5ec7e66f739d install.sh" > install.sum && bash -c 'if [[ $(sha512sum -c install.sum) == "install.sh: OK" ]]; then echo "install.sh: Checksum Matched!"; else echo "install.sh: Checksum Mismatch!" & remove -f install.sh; fi;' && chmod +x install.sh && ./install.sh && . $NVM_DIR/nvm.sh && nvm install 20.15.1 && nvm use 20.15.1 && npm install --location=global npm@latest && npm install --location=global canvas yarn node-gyp npm-run-all # Clone Repo # Signal-Desktop Branch 7.19.x @@ -25,7 +25,7 @@ RUN git clone https://github.com/signalapp/Signal-Desktop.git -b 7.19.x 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;' +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 echo "fficonfig.h: Checksum Mismatch!" & rm -f fficonfig.h; fi;' # Copy Files