From 0a7af5439eb76c77a039458a9a679dd70f4854eb Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Mon, 30 Oct 2023 17:42:10 +0100 Subject: [PATCH] add feature alpine ctop --- src/alpine-ctop/devcontainer-feature.json | 7 +++++++ src/alpine-ctop/install.sh | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/alpine-ctop/devcontainer-feature.json create mode 100644 src/alpine-ctop/install.sh diff --git a/src/alpine-ctop/devcontainer-feature.json b/src/alpine-ctop/devcontainer-feature.json new file mode 100644 index 0000000..40bc40f --- /dev/null +++ b/src/alpine-ctop/devcontainer-feature.json @@ -0,0 +1,7 @@ +{ + "name": "alpine-ctop", + "id": "alpine-ctop", + "version": "0.0.1", + "description": "Installs ctop on alpine", + "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-ctop" +} \ No newline at end of file diff --git a/src/alpine-ctop/install.sh b/src/alpine-ctop/install.sh new file mode 100644 index 0000000..2b23903 --- /dev/null +++ b/src/alpine-ctop/install.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-ctop'" + +apk --no-cache add ctop + +echo 'Done!' \ No newline at end of file