Skip to content

Commit eb3bdae

Browse files
31chtumaisch
authored andcommitted
Add initial devcontainer
1 parent e424100 commit eb3bdae

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
2+
3+
# Install Debian packages
4+
# RUN apt-get update && apt-get install -y --no-install-recommends \
5+
# XXX \
6+
# && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

.devcontainer/devcontainer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
//"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye"
7+
"build": {
8+
// Path is relative to the devcontainer.json file.
9+
"dockerfile": "Dockerfile"
10+
}
11+
12+
// Features to add to the dev container. More info: https://containers.dev/features.
13+
// "features": {},
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
// "forwardPorts": [],
17+
18+
// Use 'postCreateCommand' to run commands after the container is created.
19+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
20+
21+
// Configure tool-specific properties.
22+
// "customizations": {},
23+
24+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
25+
// "remoteUser": "root"
26+
}

0 commit comments

Comments
 (0)