Skip to content

Commit 354ba1b

Browse files
authored
Merge pull request #2 from brandonhawi/feat/codename-goose-cli
feat: use curl to install
2 parents fe8b393 + 2eadbc0 commit 354ba1b

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "codename-goose-cli",
33
"version": "1.0.0",
4-
"name": "codename-goose-cli (via GH Releases)",
4+
"name": "codename-goose-cli",
55
"documentationURL": "http://github.com/devcontainers-extra/features/tree/main/src/codename-goose-cli",
66
"description": "An open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM",
77
"options": {
@@ -13,8 +13,5 @@
1313
],
1414
"type": "string"
1515
}
16-
},
17-
"installsAfter": [
18-
"ghcr.io/devcontainers-extra/features/gh-release"
19-
]
16+
}
2017
}

src/codename-goose-cli/install.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ source ./library_scripts.sh
1111
# of the script
1212
ensure_nanolayer nanolayer_location "v0.5.6"
1313

14-
# Example nanolayer installation via devcontainer-feature
14+
echo "Installing goose $VERSION"
15+
1516
$nanolayer_location \
1617
install \
1718
devcontainer-feature \
18-
"ghcr.io/devcontainers-extra/features/gh-release:1" \
19-
--option repo='block/goose' --option binaryNames='download_cli.sh' --option version="$VERSION"
19+
"ghcr.io/devcontainers-extra/features/gh-release:1.0.25" \
20+
--option repo='block/goose' --option binaryNames='goose' --option version="$VERSION"
21+
22+
$nanolayer_location \
23+
install \
24+
apt-get \
25+
libxcb1
2026

2127
echo 'Done!'

0 commit comments

Comments
 (0)