Error while building Docker image

Hi,

I tried to build docker image from this repo.

(beagle-devscripts-kernel-debian-12-amd64)

I typed " docker build --no-cache -t robertcnelson/beagle-devscripts-kernel-debian-12-amd64 .", then I got this error and I can’t solve it:

I edited Dockerfile for solve some other errors, I will attach the file.
Dockerfile (3.0 KB)

 => ERROR [8/9] RUN wget --directory-prefix=/etc/ssl/certs/ http://192.168.1.98/mirror/internal/git.gfnd.rcn-ee.org.2024.crt  && mv -v /etc/ssl/certs/git.gfnd.rcn-ee.org.2024.crt /etc/ssl/certs/git.gfnd.rcn-ee.org.crt  && chmod 6  21.6s
------
 > [8/9] RUN wget --directory-prefix=/etc/ssl/certs/ http://192.168.1.98/mirror/internal/git.gfnd.rcn-ee.org.2024.crt   && mv -v /etc/ssl/certs/git.gfnd.rcn-ee.org.2024.crt /etc/ssl/certs/git.gfnd.rcn-ee.org.crt     && chmod 644 /etc/ssl/certs/git.gfnd.rcn-ee.org.crt  && c_rehash /etc/ssl/certs:
0.465 --2025-03-05 06:46:36--  http://192.168.1.98/mirror/internal/git.gfnd.rcn-ee.org.2024.crt
0.465 Connecting to 192.168.1.98:80... failed: Connection refused.
------
Dockerfile:99
--------------------
  98 |
  99 | >>> RUN wget --directory-prefix=/etc/ssl/certs/ http://192.168.1.98/mirror/internal/git.gfnd.rcn-ee.org.2024.crt \
 100 | >>>      && mv -v /etc/ssl/certs/git.gfnd.rcn-ee.org.2024.crt /etc/ssl/certs/git.gfnd.rcn-ee.org.crt \
 101 | >>>      && chmod 644 /etc/ssl/certs/git.gfnd.rcn-ee.org.crt \
 102 | >>>      && c_rehash /etc/ssl/certs
 103 |
--------------------
ERROR: failed to solve: process "/bin/sh -c wget --directory-prefix=/etc/ssl/certs/ http://192.168.1.98/mirror/internal/git.gfnd.rcn-ee.org.2024.crt \t&& mv -v /etc/ssl/certs/git.gfnd.rcn-ee.org.2024.crt /etc/ssl/certs/git.gfnd.rcn-ee.org.crt \t&& chmod 644 /etc/ssl/certs/git.gfnd.rcn-ee.org.crt \t&& c_rehash /etc/ssl/certs" did not complete successfully: exit code: 4

Yeah those two wget sections are https certs for our internal ci git mirrors. It’s only useful for ‘inside’ our beagleboard ci network. You can safely ignore them. (Just like you probably removed my 192.168.1.10 apt mirror, also only ‘inside’ the CI network)

Regards

1 Like