AsamK / signal-cli

signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger.
GNU General Public License v3.0
3.22k stars 306 forks source link

Adding .devcontainer files to support Codespaces environments #1542

Closed vastandboundless closed 5 months ago

vastandboundless commented 5 months ago

Description: Problem: Currently, setting up the signal-cli project in GitHub Codespaces requires manual configuration, which can be error-prone and time-consuming.

Solution: This pull request adds two files:

.devcontainer/Dockerfile: Sets up the Java 17 environment necessary for building and running signal-cli. .devcontainer/devcontainer.json: Configures the Codespaces environment to use the specified Dockerfile and ensures that the correct extensions and settings are applied. Testing:

Successfully tested the build and setup in GitHub Codespaces. Verified that the project builds and runs without issues in the new environment. Versions:

signal-cli version: v0.13.4 libsignal-client version: v0.10.1 JDK version: 17.0.11 Operating System: Ubuntu 20.04