A devcontainer Debian image with uv to develop in Python inside a container
10K+
devcontainer uvA devcontainer Debian image with uv to develop in Python inside a container:
multiarch with support of amd64 and arm64,SBOM) changes,SBOM) attestation added using Syft,This image offers an optimal experience for zsh shell users. The image also includes bash shell.
.devcontainer/devcontainer.json configuration to develop inside a container:
{
"image": "jfxs/devcontainer-uv",
...
}
docker run -it --rm -v $(pwd):/workdir --user vscode:vscode jfxs/devcontainer-uv /bin/zsh
This image includes task to run commands:
Example:
After installing Ruff dev dependency and adding those lines in your Taskfile.yml:
lint:
desc: "Python lint with Ruff."
cmds:
- uv run ruff check
silent: true
format:
desc: "Python format with Ruff."
cmds:
- uv run ruff check --fix
- uv run ruff format
silent: true
You can run:
$ task lint
All checks passed!
$ task format
All checks passed!
1 file reformatted
Docker latest tag is 0.11.32-001, 0.11, 0 and has:
| Name | Version | Type |
|---|---|---|
| git | 1:2.47.3-0+deb13u1 | deb |
| github.com/go-task/task/v3 | v3.52.0 | go-module |
| uv | 0.11.32 | rust-crate |
| wget | 1.25.0-2 | deb |
| zsh | 5.9-8+b23 | deb |
Dockerhub Overview page has the details of the last published image.
Docker tag definition:
uv version used,<uv_version>-<increment>
Example: 0.5.2-001
Cosign public key:
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----
The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub.
To verify an image:
cosign verify --key cosign.pub $IMAGE_URI
To verify and get the software bill of materials (SBOM) attestation:
cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.
Content type
Image
Digest
sha256:f5fdf5a51…
Size
402.4 MB
Last updated
2 months ago
docker pull jfxs/devcontainer-uv