Skip to content

Commit

Permalink
Apply changes to post create command
Browse files Browse the repository at this point in the history
- Replace npm install by npm ci in devcontainer
- Remove npm run compile
  • Loading branch information
cpinamtz committed May 7, 2023
1 parent e363566 commit 1cea782
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ RUN python -m pip install -r debugger-install-requirements.txt \


RUN apt-get update
RUN apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libdrm2 libgtk-3-0 libgbm-dev libasound2
RUN apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libdrm2 libgtk-3-0 libgbm-dev libasound2
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
"name": "VSCode Python Dev Container",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"build": {
"dockerfile": "./Dockerfile",
Expand Down Expand Up @@ -33,9 +33,9 @@
"nodeGypDependencies": true,
"version": "14.18"
}
},
}
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}
3 changes: 1 addition & 2 deletions scripts/post_create_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
export PATH="./node_modules/.bin:$PATH"

gulp installPythonLibs
npm install
npm run compile
npm ci

0 comments on commit 1cea782

Please sign in to comment.