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