Open drewelliott opened 1 year ago
fyi - there is some issue with the gpg key section in the Dockerfile - I saw the same issue on my linux server and my macbook too
I don't have time to troubleshoot it atm, but for a work around I just commented out lines 21,22,23
╭─drelliot@snoopy ~/git/srlinux_ndk/mapt-clab ‹main●› ‹venv› ╰─$ sudo docker build -t carter/openwrt:v0.1m . [+] Building 0.4s (11/22) docker:default => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.72kB 0.0s => [internal] load metadata for ghcr.io/openwrt/buildbot/buildworker-v3.8.0:latest 0.3s => [stage-0 1/16] FROM ghcr.io/openwrt/buildbot/buildworker-v3.8.0:latest@sha256:e3f4d838dfe65906af93923a7902e56e2ed861b8debffcca3d0db89c580905ae 0.0s => [internal] load build context 0.0s => => transferring context: 2B 0.0s => CACHED [stage-1 2/3] WORKDIR /builder/ 0.0s => CACHED [stage-0 2/16] WORKDIR /build/ 0.0s => CACHED [stage-0 3/16] RUN curl "https://downloads.openwrt.org/snapshots/targets/x86/64/sha256sums" -fs -o sha256sums 0.0s => CACHED [stage-0 4/16] RUN curl "https://downloads.openwrt.org/snapshots/targets/x86/64/sha256sums.asc" -fs -o sha256sums.asc || true 0.0s => CACHED [stage-0 5/16] RUN curl "https://downloads.openwrt.org/snapshots/targets/x86/64/sha256sums.sig" -fs -o sha256sums.sig || true 0.0s => ERROR [stage-0 6/16] ADD keys/*.asc keys/ 0.0s ------ > [stage-0 6/16] ADD keys/*.asc keys/: ------ Dockerfile:21 -------------------- 19 | RUN curl "https://$FILE_HOST/$DOWNLOAD_PATH/sha256sums.sig" -fs -o sha256sums.sig || true 20 | 21 | >>> ADD keys/*.asc keys/ 22 | RUN gpg --import keys/*.asc 23 | RUN gpg --with-fingerprint --verify sha256sums.asc sha256sums -------------------- ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount3248671527/keys: no such file or directory ╭─drelliot@snoopy ~/git/srlinux_ndk/mapt-clab ‹main●› ‹venv› ╰─$
Thanks man. I just commented the lines for now.
fyi - there is some issue with the gpg key section in the Dockerfile - I saw the same issue on my linux server and my macbook too
I don't have time to troubleshoot it atm, but for a work around I just commented out lines 21,22,23