Skip to content

Commit 5ee02f1

Browse files
Merge pull request #332 from microsoft/dev-con-issue
fix: Resolved the issue with dev container
2 parents f9317eb + f0c8efe commit 5ee02f1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.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.11-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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "azd-template",
3-
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
46
"forwardPorts": [50505],
57
"features": {
68
"ghcr.io/azure/azure-dev/azd:latest": {},

0 commit comments

Comments
 (0)