From fd00d9ef77ca3832e1c1c5c45adc7c8d835ed8a4 Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Sat, 16 Mar 2024 14:42:55 +0100 Subject: [PATCH] alpine bun --- src/alpine-bun/devcontainer-feature.json | 7 +++++++ src/alpine-bun/install.sh | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/alpine-bun/devcontainer-feature.json create mode 100644 src/alpine-bun/install.sh diff --git a/src/alpine-bun/devcontainer-feature.json b/src/alpine-bun/devcontainer-feature.json new file mode 100644 index 0000000..7644e1e --- /dev/null +++ b/src/alpine-bun/devcontainer-feature.json @@ -0,0 +1,7 @@ +{ + "name": "alpine-bun", + "id": "alpine-bun", + "version": "0.0.1", + "description": "Installs bun on alpine", + "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bun" +} \ No newline at end of file diff --git a/src/alpine-bun/install.sh b/src/alpine-bun/install.sh new file mode 100644 index 0000000..051a1cb --- /dev/null +++ b/src/alpine-bun/install.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +echo "Activating feature 'alpine-bun'" + +apk --no-cache add curl + +curl -fsSL https://bun.sh/install | bash + +echo 'Done!' \ No newline at end of file