Skip to content

Commit

Permalink
add deno & node
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Oct 2, 2023
1 parent 05160e7 commit 4de4723
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alpine-bat/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alpine-bat",
"id": "alpine-bat",
"version": "0.0.6",
"version": "0.0.7",
"description": "Installs bat on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bat",
"options": {
Expand Down
1 change: 1 addition & 0 deletions src/alpine-bat/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ echo "Activating feature 'alpine-bat'"
apk --no-cache add bat

if [[ $INITZSH == "true" ]]; then
apk --no-cache add bat-zsh-completion
echo "alias cat=bat" >> $_CONTAINER_USER_HOME/.zshrc
fi

Expand Down
2 changes: 1 addition & 1 deletion src/alpine-bottom/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alpine-bottom",
"id": "alpine-bottom",
"version": "0.0.1",
"version": "0.0.2",
"description": "Installs bottom on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-bottom"
}
4 changes: 4 additions & 0 deletions src/alpine-bottom/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ echo "Activating feature 'alpine-bottom'"

apk --no-cache add bottom --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community

if [[ $INITZSH == "true" ]]; then
apk --no-cache add bottom-zsh-completion --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
fi

echo 'Done!'
7 changes: 7 additions & 0 deletions src/alpine-deno/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-deno",
"id": "alpine-deno",
"version": "0.0.1",
"description": "Installs deno on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-deno"
}
13 changes: 13 additions & 0 deletions src/alpine-deno/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-deno'"

apk --no-cache add deno --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community

if [[ $INITZSH == "true" ]]; then
apk --no-cache add deno-zsh-completion --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
fi

echo 'Done!'
7 changes: 7 additions & 0 deletions src/alpine-node/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-node",
"id": "alpine-node",
"version": "0.0.1",
"description": "Installs node on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-node"
}
9 changes: 9 additions & 0 deletions src/alpine-node/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-node'"

apk --no-cache add nodejs npm

echo 'Done!'

0 comments on commit 4de4723

Please sign in to comment.