From 5836ee3c16c3d0fa71747d5985f1aa90f591567f Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Mon, 29 Jul 2024 13:36:37 +0000 Subject: [PATCH] chore: Add alpine-sig devcontainer feature --- README.md | 1 + src/alpine-sig/README.md | 20 ++++++++++++++++++++ src/alpine-sig/devcontainer-feature.json | 7 +++++++ src/alpine-sig/install.sh | 11 +++++++++++ 4 files changed, 39 insertions(+) create mode 100644 src/alpine-sig/README.md create mode 100644 src/alpine-sig/devcontainer-feature.json create mode 100644 src/alpine-sig/install.sh diff --git a/README.md b/README.md index b83e242..2b1b3c2 100644 --- a/README.md +++ b/README.md @@ -44,5 +44,6 @@ - [alpine-php-zip](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-zip) - [alpine-phpstorm-libs](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-phpstorm-libs) - [alpine-sentry-cli](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-sentry-cli) +- [alpine-sig](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-sig) - [alpine-starship](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-starship) - [alpine-user](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-user) diff --git a/src/alpine-sig/README.md b/src/alpine-sig/README.md new file mode 100644 index 0000000..e70ab60 --- /dev/null +++ b/src/alpine-sig/README.md @@ -0,0 +1,20 @@ + +# alpine-sig (alpine-sig) + +Installs sig on alpine + +## Example Usage + +```json +"features": { + "ghcr.io/cirolosapio/devcontainers-features/alpine-sig:0": {} +} +``` + + + + + +--- + +_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-sig/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ diff --git a/src/alpine-sig/devcontainer-feature.json b/src/alpine-sig/devcontainer-feature.json new file mode 100644 index 0000000..0f8c8db --- /dev/null +++ b/src/alpine-sig/devcontainer-feature.json @@ -0,0 +1,7 @@ +{ + "name": "alpine-sig", + "id": "alpine-sig", + "version": "0.0.1", + "description": "Installs sig on alpine", + "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-sig" +} \ No newline at end of file diff --git a/src/alpine-sig/install.sh b/src/alpine-sig/install.sh new file mode 100644 index 0000000..ac2acd1 --- /dev/null +++ b/src/alpine-sig/install.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-sig'" + +wget https://github.com/ynqa/sig/releases/latest/download/sigrs-x86_64-unknown-linux-musl.tar.xz \ + && tar -xf sigrs-x86_64-unknown-linux-musl.tar.xz \ + && mv sigrs-x86_64-unknown-linux-musl/sig /usr/local/bin/sig + +echo 'Done!' \ No newline at end of file