From 13ad4953713e11ff2d4b9ee3ad9b19c160303be2 Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Sat, 28 Oct 2023 16:19:06 +0200 Subject: [PATCH] add alpine-broot feature --- src/alpine-broot/README.md | 24 ++++++++++++++++++++++ src/alpine-broot/devcontainer-feature.json | 14 +++++++++++++ src/alpine-broot/install.sh | 13 ++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 src/alpine-broot/README.md create mode 100644 src/alpine-broot/devcontainer-feature.json create mode 100644 src/alpine-broot/install.sh diff --git a/src/alpine-broot/README.md b/src/alpine-broot/README.md new file mode 100644 index 0000000..80bf21c --- /dev/null +++ b/src/alpine-broot/README.md @@ -0,0 +1,24 @@ + +# alpine-broot (alpine-broot) + +Installs broot on alpine + +## Example Usage + +```json +"features": { + "ghcr.io/cirolosapio/devcontainers-features/alpine-broot:0": {} +} +``` + +## Options + +| Options Id | Description | Type | Default Value | +|-----|-----|-----|-----| +| initZsh | Init zsh | boolean | true | + + + +--- + +_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-broot/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ diff --git a/src/alpine-broot/devcontainer-feature.json b/src/alpine-broot/devcontainer-feature.json new file mode 100644 index 0000000..fd7a3d2 --- /dev/null +++ b/src/alpine-broot/devcontainer-feature.json @@ -0,0 +1,14 @@ +{ + "name": "alpine-bottom", + "id": "alpine-bottom", + "version": "0.0.2", + "description": "Installs bottom on alpine", + "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bottom", + "options": { + "initZsh": { + "type": "boolean", + "default": true, + "description": "Init zsh" + } + } +} \ No newline at end of file diff --git a/src/alpine-broot/install.sh b/src/alpine-broot/install.sh new file mode 100644 index 0000000..12147ad --- /dev/null +++ b/src/alpine-broot/install.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-bottom'" + +apk --no-cache add broot + +if [[ $INITZSH == "true" ]]; then + apk --no-cache add broot-zsh-completion +fi + +echo 'Done!' \ No newline at end of file