Skip to content

Commit 81d50e4

Browse files
Add the Copilot CLI to the universal devcontainer (#1697)
* Add Copilot CLI feature to devcontainer configuration * Add check for Copilot CLI * Bump version and README --------- Co-authored-by: Álvaro Rausell Guiard <[email protected]>
1 parent 312cf60 commit 81d50e4

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

src/universal/.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"ghcr.io/devcontainers/features/github-cli:1": {
6161
"version": "latest"
6262
},
63+
"ghcr.io/devcontainers/features/copilot-cli:1": {
64+
"version": "latest"
65+
},
6366
"ghcr.io/devcontainers/features/docker-in-docker:2": {
6467
"version": "latest"
6568
},

src/universal/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ The container includes the `zsh` (and Oh My Zsh!) and `fish` shells that you can
2727
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image.
2828
For example:
2929

30-
- `mcr.microsoft.com/devcontainers/universal:4-noble`
31-
- `mcr.microsoft.com/devcontainers/universal:4.1-noble`
32-
- `mcr.microsoft.com/devcontainers/universal:4.1.0-noble`
30+
- `mcr.microsoft.com/devcontainers/universal:5-noble`
31+
- `mcr.microsoft.com/devcontainers/universal:5.1-noble`
32+
- `mcr.microsoft.com/devcontainers/universal:5.1.0-noble`
3333

3434
See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/universal/tags/list).
3535

@@ -47,7 +47,7 @@ Access to the Anaconda repository is covered by the [Anaconda Terms of Service](
4747

4848
While the image itself works unmodified, you can also directly reference pre-built versions of `Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to:
4949

50-
`mcr.microsoft.com/devcontainers/universal:4.1-linux`
50+
`mcr.microsoft.com/devcontainers/universal:5.1-linux`
5151

5252
Alternatively, you can use the contents of [.devcontainer](.devcontainer) to fully customize your container's contents or to build it for a container host architecture not supported by the image.
5353

src/universal/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.0.2",
2+
"version": "5.1.0",
33
"build": {
44
"latest": true,
55
"rootDistro": "debian",

src/universal/test-project/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ check "go" go version
114114
# Check utilities
115115
checkOSPackages "additional-os-packages" vim xtail software-properties-common
116116
check "gh" gh --version
117+
check "copilot" copilot --version
117118
check "git-lfs" git-lfs --version
118119
check "docker" docker --version
119120
check "kubectl" kubectl version --client

0 commit comments

Comments
 (0)