Hi, I am trying to build the docker-edge-client in order to do some testing with edge apps but I'm having troubles with the build.
I'm following the instructions in the README https://github.com/IoTOpen/docker-edge-client but when I try to run the docker build command i get the following output:
[+] Building 3.8s (11/11) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 450B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/debian:stable 1.0s
=> [1/6] FROM docker.io/library/debian:stable@sha256:6662bb5ae28ce4ce754cb4cc4b03deb9b4f24ab052b812b966aa773942e27745 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 767B 0.0s
=> https://pkg.iotopen.se/conf/iotopen.gpg.key 0.1s
=> CACHED [2/6] ADD opt /opt 0.0s
=> CACHED [3/6] ADD https://pkg.iotopen.se/conf/iotopen.gpg.key /root/iotopen.gpg.key 0.0s
=> CACHED [4/6] RUN apt-get update && apt-get install -y gnupg ca-certificates && apt-key add /root/iotopen.gpg.key && rm /root/iotopen.gpg.key 0.0s
=> CACHED [5/6] ADD etc /etc 0.0s
=> ERROR [6/6] RUN apt-get update && apt-get install -y iotopen-verify mosquitto mini-httpd procps curl jq iputils-ping iotopen-edge 2.6s
[6/6] RUN apt-get update && apt-get install -y iotopen-verify mosquitto mini-httpd procps curl jq iputils-ping iotopen-edge:
0.313 Get:1 https://pkg.iotopen.se/debian unstable InRelease [9683 B]
0.405 Get:2 https://pkg.iotopen.se/debian unstable/main amd64 Packages [927 B]
0.998 Hit:3 http://deb.debian.org/debian stable InRelease
1.155 Get:4 http://deb.debian.org/debian stable-updates InRelease [52.1 kB]
1.499 Get:5 http://deb.debian.org/debian-security stable-security InRelease [48.0 kB]
1.584 Fetched 111 kB in 1s (83.6 kB/s)
1.584 Reading package lists...
1.973 W: https://pkg.iotopen.se/debian/dists/unstable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
1.977 Reading package lists...
2.317 Building dependency tree...
2.433 Reading state information...
2.492 Some packages could not be installed. This may mean that you have
2.492 requested an impossible situation or if you are using the unstable
2.492 distribution that some required packages have not yet been created
2.492 or been moved out of Incoming.
2.492 The following information may help to resolve the situation:
2.492
2.492 The following packages have unmet dependencies:
2.582 iotopen-rt : Depends: libssl1.1 but it is not installable
2.586 E: Unable to correct problems, you have held broken packages.
Dockerfile:10
9 | ADD etc /etc
10 | >>> RUN apt-get update && \
11 | >>> apt-get install -y iotopen-verify mosquitto mini-httpd procps curl jq \
12 | >>> iputils-ping iotopen-edge
13 |
ERROR: failed to solve: process "/bin/sh -c apt-get update && \tapt-get install -y iotopen-verify mosquitto mini-httpd procps curl jq \tiputils-ping iotopen-edge" did not complete successfully: exit code: 100
Do I need to install some software or are there other steps I need to take before running the build command?