Skip to content

Commit c9f99c7

Browse files
fixed the powershell issue (#107)
1 parent 1f3bc19 commit c9f99c7

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/devcontainers/python:3.10-bullseye
2+
3+
# Remove Yarn repository to avoid GPG key expiration issue
4+
RUN rm -f /etc/apt/sources.list.d/yarn.list

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11

22
{
33
"name": "Azure Developer CLI",
4-
"image": "mcr.microsoft.com/devcontainers/python:3.10-bullseye",
4+
"build": {
5+
"dockerfile": "Dockerfile"
6+
},
57
"features": {
68
// See https://containers.dev/features for list of features
79
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
810
"ghcr.io/azure/azure-dev/azd:latest": {},
9-
"ghcr.io/devcontainers/features/azure-cli:1": {}
11+
"ghcr.io/devcontainers/features/azure-cli:1": {},
12+
"ghcr.io/devcontainers/features/powershell:2.0.0": {}
1013
}
1114
}

0 commit comments

Comments
 (0)