ROCKNIX / distribution

Other
349 stars 63 forks source link

Docker image does not exist #266

Closed hansfbaier closed 4 months ago

hansfbaier commented 4 months ago

Describe the bug

Docker build fails, because the base docker image does not exist

How to reproduce

Steps to reproduce the behavior: $ git clone --depth 1 https://github.com/ROCKNIX/distribution.git $ cd distribution $ make docker-RK3566

Information

Log file

$ make docker-RK3566 BUILD_DIR=/MiSTeX/distribution docker run -it --init --env-file .env --rm --user 1000:1000 -v /MiSTeX/distribution:/MiSTeX/distribution -w /MiSTeX/distribution "rocknix/rocknix-build:latest" make RK3566 Unable to find image 'rocknix/rocknix-build:latest' locally docker: Error response from daemon: pull access denied for rocknix/rocknix-build, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'. make: *** [Makefile:144: docker-RK3566] Error 125

sousapro commented 4 months ago

@hansfbaier did you run make docker-image-build yet? I'd expect this error if the build container is missing

Source: https://rocknix.org/contribute/build/#3-build

hansfbaier commented 4 months ago

@sousapro Oh, you are right. I should have read the build instructions more thouroughly. Sorry for the inconvenience, and thanks for the help. I thought the image was on docker hub.

sousapro commented 4 months ago

No worries, glad you're moving forward building from source now

spycat88 commented 4 months ago

I have created images on the Docker hub now so it is not necessary to build them first anymore with make docker-image-build.

hansfbaier commented 4 months ago

@spycat88 Thanks, it works and I used it with make docker-image-pull But I encountered an issue, both with docker-image-build and docker-image-pull, see https://github.com/ROCKNIX/distribution/issues/269