Skip to content

Commit f0c8efe

Browse files
fix the issue with devcontainer
1 parent f9317eb commit f0c8efe

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)