Last active
November 17, 2020 04:21
-
-
Save tenox7/ba62f1cf6f0b0d8d2ccd872ae2b47702 to your computer and use it in GitHub Desktop.
overcomplicated method of downloading .deb for signal-desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
# overcomplicated method of downloading .deb for signal-desktop | |
docker rmi -f getsignal | |
cat <<EOF | docker build -t getsignal -f- . | |
FROM ubuntu | |
RUN apt update | |
RUN apt install -y wget sudo gnupg | |
RUN wget -O- https://updates.signal.org/desktop/apt/keys.asc | apt-key add - | |
RUN echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" >> /etc/apt/sources.list.d/signal-xenial.list | |
RUN apt update | |
WORKDIR /out | |
ENTRYPOINT ["/usr/bin/apt", "download", "signal-desktop"] | |
EOF | |
docker run -v ${PWD}:/out -it --rm getsignal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment