Closed groldo closed 2 years ago
Hi, I responded in the old issue, I think this will solve your problem:
@groldo i think i see the issue, please add
-v /dev:/dev
to your docker run arguments (we updated the readme recently)
Hi @yuval-k, I'm closing this as it now works like a charm 👍 .
Thanks for the great support and the awesome work.
I am facing the same issue, while using gitlab ci runner, even when using: -v /dev:/dev build_os_dist: image: "docker:latest" stage: .pre services:
Output...
==> arm-image: Copying source image. ==> arm-image: Image is a zip file. ==> arm-image: Unzipping 2020-02-13-raspbian-buster-lite.img arm-image: Speed: 148.38 MB/s arm-image: Progress: 40.25% arm-image: Speed: 91.92 MB/s arm-image: Progress: 65.03% arm-image: Speed: 55.48 MB/s arm-image: Progress: 80.06% ==> arm-image: Growing partition to 4096 M (4294967296 bytes) arm-image: mapping output-arm-image/image ==> arm-image: losetup --show -f -P output-arm-image/image ==> arm-image: partitions: [] ==> arm-image: no partitions defined Build 'arm-image' errored after 33 seconds 467 milliseconds: step canceled or halted ==> Wait completed after 33 seconds 467 milliseconds ==> Some builds didn't complete successfully and had errors: --> arm-image: step canceled or halted ==> Builds finished but no artifacts were created. Cleaning up project directory and file based variables
When running
results in
The setup is
Also for reference see this old issue
this:
runs perfectly.