Last active
May 3, 2022 04:48
-
-
Save kalatabe/96f0fab3fb21c21eba15634c64ad7ac6 to your computer and use it in GitHub Desktop.
Signal AppImage docker builder
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
FROM node:16.13.0 | |
RUN export DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update -yqq && apt-get full-upgrade -yqq | |
RUN apt-get install -yqq curl wget git jq git-lfs | |
RUN git clone https://github.com/signalapp/Signal-Desktop /opt/project | |
WORKDIR /opt/project | |
RUN git checkout $(git describe --tags $(git rev-list --tags --max-count=100) | grep -v beta | head -n 1) | |
RUN cat package.json | jq '.build.linux += {target:["AppImage"]}' > with_appimage_package.json | |
RUN mv with_appimage_package.json package.json | |
RUN yarn install | |
RUN yarn build-release | |
RUN ls -la ./release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment