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,uv and task versions),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 -w /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.12.21-002, 0.12, 0.
The complete software bill of materials (SBOM) of each published image, with its known vulnerabilities,
is collected in the sbom-docker repository, under the
component devcontainer-uv.
Dockerhub Overview page has the details of the last published image.
Docker tag definition:
uv version used,<uv_version>-<increment>
Example: 0.12.21-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:ed9da5b8e…
Size
404.7 MB
Last updated
about 18 hours ago
docker pull jfxs/devcontainer-uv