Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/asdf-vm.com/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "asdf-vm.com",
"id": "asdf-vm.com",
"version": "1.0.1",
"version": "1.0.2",
"description": "Install \"asdf\" binary to the HOME folder of the REMOTE user",
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/asdf-vm.com",
"options": {
"version": {
"type": "string",
"default": "latest",
"proposals": [
"latest"
"latest",
"0.18.1",
"0.18.0"
],
"description": "Version of \"asdf\" to install."
}
Expand Down
3 changes: 3 additions & 0 deletions src/asdf-vm.com/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ install_binary() {
}
install() {
utils_check_version "$VERSION"
if ! command -v curl >/dev/null 2>&1; then
apt_get_checkinstall curl ca-certificates
fi
if [ "$VERSION" == 'latest' ] || [ -z "$VERSION" ]; then
VERSION=$(github_get_latest_release "$githubRepository")
fi
Expand Down
Loading