Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Docker image on docker hub as well as building from Dockerfile does not work (arm64) #107

Closed
Teknia opened this issue Oct 18, 2024 · 4 comments
Labels
invalid This doesn't seem right question Further information is requested

Comments

@Teknia
Copy link

Teknia commented Oct 18, 2024

From dockerhub:

docker pull nordicplayground/nrfconnect-sdk
Using default tag: latest

What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview nordicplayground/nrfconnect-sdk
Error response from daemon: manifest for nordicplayground/nrfconnect-sdk:latest not found: manifest unknown: manifest unknown

Building from a Dockerfile

...
12.07 E: Package 'gcc-multilib' has no installation candidate

1 warning found (use docker --debug to expand):

  • FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
    Dockerfile:16

15 | # python 3.8 is installed by toolchain manager hence older version of libffi is required
16 | >>> RUN <<EOT
17 | >>> apt-get -y update
18 | >>> apt-get -y upgrade
19 | >>> apt-get -y install wget unzip clang-format gcc-multilib make libffi7
20 | >>> apt-get -y clean
21 | >>> rm -rf /var/lib/apt/lists/*
22 | >>> EOT
23 |

ERROR: failed to solve: process "/bin/bash -euxo pipefail -c apt-get -y update\n apt-get -y upgrade\n apt-get -y install wget unzip clang-format gcc-multilib make libffi7\n apt-get -y clean\n rm -rf /var/lib/apt/lists/*\n" did not complete successfully: exit code: 100

Please advise on both.

Thank you!

@coderbyheart coderbyheart added the help wanted Extra attention is needed label Oct 18, 2024
@coderbyheart
Copy link
Member

Hei, please product the steps that you run to reproduce the problem.

Building works.

@coderbyheart coderbyheart added invalid This doesn't seem right question Further information is requested and removed help wanted Extra attention is needed labels Oct 18, 2024
@Teknia
Copy link
Author

Teknia commented Oct 19, 2024

Hi, the steps I used are shown below.

I did not mention that I am building on:
Docker Desktop for MacOS Apple Silicon: macOS Ventura 13.4.1 (c)
Version: 4.34.2 (167172) when I logged the issue
Current version: 4.34.3 (170107) which still produces the same output as per below:

From dockerhub:

$ docker pull nordicplayground/nrfconnect-sdk

Which produces:

Error response from daemon: manifest for nordicplayground/nrfconnect-sdk:latest not found: manifest unknown: manifest unknown

Building from a Dockerfile

git clone https://github.com/NordicPlayground/nrf-docker
cd nrf-docker
docker build -t nordicplayground/nrfconnect-sdk:main \
    --build-arg toolchain_version=v2.7.0 \
    --build-arg arch=arm64 \
    .

Which produces:

11.45 E: Package 'gcc-multilib' has no installation candidate
------

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:16
--------------------
  15 |     # python 3.8 is installed by toolchain manager hence older version of libffi is required
  16 | >>> RUN <<EOT
  17 | >>>     apt-get -y update
  18 | >>>     apt-get -y upgrade
  19 | >>>     apt-get -y install wget unzip clang-format gcc-multilib make libffi7
  20 | >>>     apt-get -y clean
  21 | >>>     rm -rf /var/lib/apt/lists/*
  22 | >>> EOT
  23 |     
--------------------
ERROR: failed to solve: process "/bin/bash -euxo pipefail -c     apt-get -y update\n    apt-get -y upgrade\n    apt-get -y install wget unzip clang-format gcc-multilib make libffi7\n    apt-get -y clean\n    rm -rf /var/lib/apt/lists/*\n" did not complete successfully: exit code: 100

I hope that clarifies things.

@coderbyheart
Copy link
Member

$ docker pull nordicplayground/nrfconnect-sdk

You need to specify a valid tag. latest is not valid.
To see the available tags, see https://hub.docker.com/r/nordicplayground/nrfconnect-sdk/tags

@coderbyheart coderbyheart changed the title Docker image on docker hub as well as building from Dockerfile does not work Docker image on docker hub as well as building from Dockerfile does not work (arm64) Oct 19, 2024
@coderbyheart
Copy link
Member

coderbyheart commented Oct 19, 2024

Building for Mac OS X is currently not tested in CI, so I am closing this because it is not supported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants