Skip to content

Commit

Permalink
add git feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Oct 5, 2023
1 parent e401884 commit bcb0822
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/alpine-git/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-git",
"id": "alpine-git",
"version": "0.0.1",
"description": "Installs git on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-git"
}
9 changes: 9 additions & 0 deletions src/alpine-git/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-git'"

apk --no-cache add git

echo 'Done!'

0 comments on commit bcb0822

Please sign in to comment.