I am trying to setup a development environment so that I can rebuild the debian kernel on the CM3588 NAS kit to with some an added quirk for the MAXIO non-volatile memory NVME controller so that it recognizes multiple nvme SSDs that report the same id.
When I do the docker build --no-cache -t docker-ubuntu-lxde-novnc . command I get the following error -
=> ERROR [ 2/19] RUN wget -q -O - https://dl.google.com/linux/linux_sign 0.4s
------
> [ 2/19] RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -:
0.349 exec /bin/sh: exec format error
------
Dockerfile:6
--------------------
4 | ENV https_proxy http://192.168.254.192:1082
5 |
6 | >>> RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
7 | RUN apt-get update -qq \
8 | && apt-get purge -y -qq google-chrome-stable \
--------------------
ERROR: failed to solve: process "/bin/sh -c wget -q -O - https://dl.google.com/l inux/linux_signing_key.pub | apt-key add -" did not complete successfully: exit code: 1

I am trying to set this up on the CM3588. Please help.