We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519ba21 commit 0358ce0Copy full SHA for 0358ce0
.devcontainer/Dockerfile
@@ -0,0 +1,8 @@
1
+FROM mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
2
+
3
+ENV VIRTUAL_ENV=/opt/venv
4
+RUN python -m venv $VIRTUAL_ENV
5
+ENV PATH="$VIRTUAL_ENV/bin:$PATH"
6
+RUN sudo chown -R vscode:vscode $VIRTUAL_ENV
7
8
+RUN pip install loguru maturin[patchelf]
.devcontainer/devcontainer.json
+{
+ "name": "Iggy Python SDK devcontainer",
+ "dockerComposeFile": "docker-compose.yml",
+ service: "devcontainer",
+ "features": {
+ "ghcr.io/devcontainers/features/rust:1": {}
+ }
+}
.devcontainer/docker-compose.yml
@@ -0,0 +1,11 @@
+services:
+ devcontainer:
+ build:
+ context: .
+ dockerfile: Dockerfile
+ network_mode: service:iggy
+ command: sleep infinity
9
+ iggy:
10
+ image: iggyrs/iggy:latest
11
+ restart: unless-stopped
0 commit comments