add 3 Docker users/build helpers : local_dev, repro and latest, update README.md to simplify usage #1855
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
README.md
file and the addition of three new helper scripts for creating/consuming Docker images. The changes aim to streamline the development/usage workflow and enhance reproducibility.Documentation updates:
README.md
: Updated instructions for building the Docker image and provided details about three new helper scripts:docker_local_dev.sh
,docker_latest.sh
, anddocker_repro.sh
. Clarified the reproducibility of builds and provided examples for using these scripts. [1] [2] [3]New helper scripts:
docker_local_dev.sh
: Added a script to build and use a local;y created Docker image from nix flakes.nix and flakes.lock for local development, including checks for Nix and Docker installations, and a warning about non-reproducible builds and docker usage once jumped in itdocker_latest.sh
: Added a script to use the latest published Docker image for development, with options for setting the number of CPUs and enabling verbose modedocker_repro.sh
: Added a script to use the versioned Docker image specified in the CircleCI configuration for reproducible builds, with options for setting the number of CPUs and enabling verbose mode.Fixes longterm issue of being able to use USB Security dongles under QubesOS with Qemu not being able to obtain usb devices exclusivity as opposed to kvm. The scripts kill gpg toolstack consumers of usb devices on host.
Finally fixes #1490