A devcontainer image with uv and npm for Python frontend developpement
10K+
devcontainer uv npmA devcontainer Debian image with uv and npm to develop frontend in Python inside a container:
multiarch with support of amd64 and arm64,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-npm",
...
}
docker run -it --rm -v $(pwd):/workdir --user vscode:vscode jfxs/devcontainer-uv-npm /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.22-001, 0.12, 0.
The sbom-docker repository collects the complete software bill of materials (SBOM) of each published image, with its known vulnerabilities.
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:8eaa3aea9…
Size
493.4 MB
Last updated
1 day ago
docker pull jfxs/devcontainer-uv-npm