Skip to content

Commit 181452a

Browse files
authored
Merge pull request #81 from rajbos:container
Universal image is using deprecated version, switch to custom container
2 parents 1ecbdb8 + 193afe3 commit 181452a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.devcontainer/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM mcr.microsoft.com/powershell:7.3-alpine-3.17
2+
3+
# add git
4+
RUN apk add --no-cache git

.devcontainer/devcontainer.json

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "PowerShell",
3-
"image": "mcr.microsoft.com/powershell:latest",
4-
"settings": {
5-
"terminal.integrated.shell.linux": "/usr/bin/pwsh"
3+
"build": {
4+
"dockerfile": "Dockerfile"
65
},
7-
"extensions": [
8-
"ms-vscode.powershell"
9-
]
6+
"customizations": {
7+
"settings": {
8+
"terminal.integrated.shell.linux": "/usr/bin/pwsh"
9+
},
10+
"vscode": {
11+
"extensions": [
12+
"ms-azuretools.vscode-docker",
13+
"ms-vscode.powershell",
14+
"GitHub.copilot"
15+
]
16+
}
17+
}
1018
}

0 commit comments

Comments
 (0)