Skip to content

Commit

Permalink
Update re-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
0mniteck authored Nov 13, 2023
1 parent 04686c5 commit 266ec96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions re-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

rm -f -r /var/snap/docker/*
umount -f /dev/mapper/Luks-Signal
cryptsetup close /dev/mmcblk1
cryptsetup close /dev/mapper/Luks-Signal
rm -f -r /var/snap/docker
snap remove docker --purge
cryptsetup open /dev/mmcblk1 Luks-Signal && mkdir /var/snap/docker && mount /dev/mapper/Luks-Signal /var/snap/docker && rm -f -r /var/snap/docker/*
snap install docker && ufw disable && sleep 10 && cp /etc/keys/.private.key .private.key && docker build -t pinephone . && shred .private.key && rm -f .private.key && docker run --cpus=$(nproc) --name pinephone -it pinephone bash -c /signal-buildscript.sh && rm -fr builds/release/ && mkdir -p builds/release && docker cp pinephone:/Signal-Desktop/release/ builds/ && rm -fr builds/release/linux-*
rm -f -r /var/snap/docker/*
umount -f /dev/mapper/Luks-Signal
cryptsetup close /dev/mmcblk1
cryptsetup close /dev/mapper/Luks-Signal
rm -f -r /var/snap/docker
sleep 10
snap remove docker --purge
Expand Down

0 comments on commit 266ec96

Please sign in to comment.