Skip to content

Commit 315681d

Browse files
committed
Apply changes to post create command
- Replace npm install by npm ci in devcontainer - Remove npm run compile
1 parent 5d6fb28 commit 315681d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ RUN python -m pip install -r debugger-install-requirements.txt \
2626

2727

2828
RUN apt-get update
29-
RUN apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libdrm2 libgtk-3-0 libgbm-dev libasound2
29+
RUN apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libdrm2 libgtk-3-0 libgbm-dev libasound2

.devcontainer/devcontainer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/python
33
{
4-
"name": "Python 3",
4+
"name": "VSCode Python Dev Container",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
"build": {
77
"dockerfile": "./Dockerfile",
@@ -33,9 +33,9 @@
3333
"nodeGypDependencies": true,
3434
"version": "14.18"
3535
}
36-
},
36+
}
3737
// Configure tool-specific properties.
3838
// "customizations": {},
3939
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
4040
// "remoteUser": "root"
41-
}
41+
}

scripts/post_create_command.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
export PATH="./node_modules/.bin:$PATH"
44

55
gulp installPythonLibs
6-
npm install
7-
npm run compile
6+
npm ci

0 commit comments

Comments
 (0)