Skip to content

Instantly share code, notes, and snippets.

@kalatabe
Last active May 3, 2022 04:48
Show Gist options
  • Save kalatabe/96f0fab3fb21c21eba15634c64ad7ac6 to your computer and use it in GitHub Desktop.
Save kalatabe/96f0fab3fb21c21eba15634c64ad7ac6 to your computer and use it in GitHub Desktop.
Signal AppImage docker builder
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