Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent Dockerfile uses non-existent or private repository link #2905

Open
Vladislav2951 opened this issue Oct 11, 2024 · 0 comments
Open

Agent Dockerfile uses non-existent or private repository link #2905

Vladislav2951 opened this issue Oct 11, 2024 · 0 comments

Comments

@Vladislav2951
Copy link

What Operating System(s) are you seeing this problem on?

Linux (x86-64)

Backend.AI version

24.03.10

Describe the bug

Docker build command for backend.ai/docker/agent/Dockerfile file returns an error and cannot been completed because the https://github.com/lablup/backend.ai-agent repository is non-existent or private.

Additional error:

 => ERROR [3/8] RUN apt-get update &&     apt-get install --no-install-recommends -y netcat libzmq3-dev          12.5s 
------                                                                                                                 
 > [3/8] RUN apt-get update &&     apt-get install --no-install-recommends -y netcat libzmq3-dev:                      
10.32 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]                                                   
10.38 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]                                          
10.41 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]                                
10.50 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
11.28 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [2468 B]
11.28 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [188 kB]
11.88 Fetched 9232 kB in 12s (794 kB/s)
11.88 Reading package lists...
12.14 Reading package lists...
12.39 Building dependency tree...
12.45 Reading state information...
12.45 Package netcat is a virtual package provided by:
12.45   netcat-openbsd 1.219-1
12.45   netcat-traditional 1.10-47
12.45 
12.45 E: Package 'netcat' has no installation candidate
------
Dockerfile:6
--------------------
   5 |     RUN pip install -U -q pip setuptools
   6 | >>> RUN apt-get update && \
   7 | >>>     apt-get install --no-install-recommends -y netcat libzmq3-dev
   8 |     RUN mkdir /app
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update &&     apt-get install --no-install-recommends -y netcat libzmq3-dev" did not complete successfully: exit code: 100

To Reproduce

cd docker/agent/
docker build -t agent .

Expected Behavior

Create of the docker image that contains Agent only.

Anything else?

There was a need to install only the agent inside the docker image on the system.

I also did not find any information in the documentation about what this file is actually used for. Shall you help with the information about the purpose of these backend.ai/docker/ files, especially this backend.ai/docker/agent/Dockerfile?

@Vladislav2951 Vladislav2951 added the type:bug Reports about that are not working label Oct 11, 2024
@achimnol achimnol removed the type:bug Reports about that are not working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants