Skip to content

Instantly share code, notes, and snippets.

View apetersson's full-sized avatar

Andreas Petersson apetersson

View GitHub Profile

Dockerfile for signal-cli

Creating a Dockerfile for signal-cli provides an isolated environment where you can run the tool without polluting your main system with its dependencies. Here's a basic Dockerfile for this purpose:

# Use an official Java base image. Since signal-cli requires at least JRE 17, we'll use that.
FROM openjdk:17-slim

# Set the version of signal-cli you want to install
ENV SIGNAL_CLI_VERSION=x.y.z

Keybase proof

I hereby claim:

  • I am apetersson on github.
  • I am petersson (https://keybase.io/petersson) on keybase.
  • I have a public key ASBiXoYWczDoq0z6N1Km1Afy5Rb6EaMf7YA0V0BtiWp4JAo

To claim this, I am signing this object: