Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/devcontainers/base:jammy

ARG PIXI_VERSION=v0.32.1
ARG PIXI_VERSION=v0.41.4

RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
&& chmod +x /usr/local/bin/pixi \
Expand Down
59 changes: 29 additions & 30 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"name": "python_template",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.pylint",
"njpwerner.autodocstring",
"charliermarsh.ruff",
"mhutchie.git-graph",
"eamodio.gitlens",
"tamasfe.even-better-toml",
"Codium.codium",
"ms-azuretools.vscode-docker",
"ryanluker.vscode-coverage-gutters"
]
}
},
//docker in docker is included in the pixi devcontainer example, but disabling for the moment due to security issues
// "features": {
// "ghcr.io/devcontainers/features/docker-in-docker:2": {}
// },
"mounts": [
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"
],
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
"name": "python_template",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"PIXI_VERSION": "v0.41.4"
}
},
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"jjjermiah.pixi-vscode",
"ms-python.python",
"charliermarsh.ruff",
"tamasfe.even-better-toml",
"mhutchie.git-graph",
"GitHub.copilot",
"ryanluker.vscode-coverage-gutters"
]
}
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
},
"mounts": [
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"
],
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
}
Loading
Loading