Skip to content

Commit

Permalink
add aws-cli feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Oct 15, 2023
1 parent 17f0368 commit b95c6cf
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/alpine-aws-cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

# alpine-aws-cli (alpine-aws-cli)

Installs aws-cli on alpine

## Example Usage

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-aws-cli: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-aws-cli/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
14 changes: 14 additions & 0 deletions src/alpine-aws-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "alpine-aws-cli",
"id": "alpine-aws-cli",
"version": "0.0.1",
"description": "Installs aws-cli on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-aws-cli",
"options": {
"initZsh": {
"type": "boolean",
"default": true,
"description": "Init zsh"
}
}
}
13 changes: 13 additions & 0 deletions src/alpine-aws-cli/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-aws-cli'"

apk --no-cache add aws-cli

if [[ $INITZSH == "true" ]]; then
apk --no-cache add aws-cli-zsh-completion
fi

echo 'Done!'

0 comments on commit b95c6cf

Please sign in to comment.