File tree Expand file tree Collapse file tree
content-gen/.devcontainer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11{
22 "name" : " azd-template" ,
3- "image" : " mcr.microsoft.com/devcontainers/python:3.11-bullseye" ,
3+ "build" : {
4+ "dockerfile" : " Dockerfile"
5+ },
46 "forwardPorts" : [3000 , 5000 ],
57 "features" : {
68 "ghcr.io/devcontainers/features/node:1" : {
Original file line number Diff line number Diff line change 2121 - name : Validate Azure Template
2222 uses : microsoft/template-validation-action@v0.4.3
2323 id : validation
24+ with :
25+ workingDirectory : ./content-gen
2426 env :
2527 AZURE_CLIENT_ID : ${{ secrets.AZURE_CLIENT_ID }}
2628 AZURE_TENANT_ID : ${{ secrets.AZURE_TENANT_ID }}
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " azd-template" ,
3+ "build" : {
4+ "dockerfile" : " Dockerfile"
5+ },
6+ "forwardPorts" : [3000 , 5000 ],
7+ "features" : {
8+ "ghcr.io/devcontainers/features/node:1" : {
9+ "nodeGypDependencies" : true ,
10+ "installYarnUsingApt" : true ,
11+ "version" : " lts" ,
12+ "pnpmVersion" : " latest" ,
13+ "nvmVersion" : " latest"
14+ },
15+ "ghcr.io/devcontainers/features/azure-cli:1" : {
16+ "installBicep" : true ,
17+ "version" : " latest" ,
18+ "bicepVersion" : " latest"
19+ },
20+ "ghcr.io/azure/azure-dev/azd:0" : {
21+ "version" : " stable"
22+ }
23+ },
24+ "customizations" : {
25+ "vscode" : {
26+ "extensions" : [
27+ " ms-azuretools.azure-dev" ,
28+ " ms-azuretools.vscode-bicep" ,
29+ " ms-python.python" ,
30+ " ms-toolsai.jupyter" ,
31+ " GitHub.vscode-github-actions"
32+ ]
33+ }
34+ },
35+ "postCreateCommand" : " bash ./.devcontainer/setup_env.sh" ,
36+ "remoteUser" : " vscode" ,
37+ "hostRequirements" : {
38+ "memory" : " 4gb"
39+ }
40+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ git fetch
4+ git pull
You can’t perform that action at this time.
0 commit comments