Skip to content

Commit 364f0e3

Browse files
committed
feat: python switch to dockerfile
1 parent 192a52e commit 364f0e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/python/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2323
&& rm -rf /var/lib/apt/lists/*
2424

2525
# [Optional] Uncomment this line to install global node packages.
26-
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g husky" 2>&1
26+
RUN source /usr/local/share/nvm/nvm.sh && npm install -g husky

src/python/.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"mounts": [
3939
"source=${env:HOME}${env:USERPROFILE}/.ssh,target=/vscode/.ssh,type=bind,consistency=cached"
4040
],
41-
"postCreateCommand": "eval \"$(ssh-agent -s)\" && ssh-add /vscode/.ssh/id_rsa"
41+
"postCreateCommand": "eval \"$(ssh-agent -s)\" && ssh-add /vscode/.ssh/id_rsa",
4242

4343
// Use 'forwardPorts' to make a list of ports inside the container available locally.
4444
// "forwardPorts": [],
4545

4646
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
47-
// "remoteUser": "root"
47+
"remoteUser": "root"
4848
}

0 commit comments

Comments
 (0)