distroless
distroless copied to clipboard
Document how to generate first version of lock file
Describe the bug
When running bazel run @bullseye://.lock without an existing bullseye.lock.json file present, the command fails with the error:
Error in read: java.io.FileNotFoundException: /home/qdii/dev/rules_distroless/e2e/smoke/bullseye.lock.json (No such file or directory)
To Reproduce
- Clone the e2e smoke test repository.
- Remove or update
.bzlversionto use the latest bazel version - Remove
.bullseye.lock.json - Run
bazel run @bullseye//:lockto regenerate it - Try
bazel run @bullseye_nolock//:locktoo
Observe the command failing
Expected behavior
bullseye.lock.json is an output of the command at stage 4 or 5