-
Notifications
You must be signed in to change notification settings - Fork 84
Unable to build the docker image with the provider Dockerfile #260
Open
Description
Trying to build the container, but it fails at the RUN /usr/local/bin/python3 setup.py install step with /usr/local/bin/python3: can't open file '/app-src/setup.py': [Errno 2] No such file or directory.
Full build logs:
[internal] load build definition from Dockerfile
transferring 1153/0 0.017
[internal] load metadata for docker.io/library/python:3
[internal] load .dockerignore
[internal] load build context
transferring 12883093/0 0.768
[base 1/6] FROM docker.io/library/python:3@sha256:09b29c360b84742bf98eba40b214f7f6b4b53286bb2c8a8b5b1afa188a8d9c0e
resolve docker.io/library/python:3@sha256:09b29c360b84742bf98eba40b214f7f6b4b53286bb2c8a8b5b1afa188a8d9c0e 0/0 0.035
[base 2/6] COPY requirements.txt /app-src/requirements.txt
[base 3/6] WORKDIR /app-src
[base 4/6] RUN /usr/local/bin/python3 -m pip install --upgrade pip && pip install -r requirements.txt
Requirement already satisfied: pip in /usr/local/lib/python3.14/site-packages (26.1.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Collecting rfc6555 (from -r requirements.txt (line 2))
Downloading rfc6555-0.1.0-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting distro (from -r requirements.txt (line 3))
Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB)
Collecting imaplib2>=3.5 (from -r requirements.txt (line 4))
Downloading imaplib2-3.6-py3-none-any.whl.metadata (1.3 kB)
Downloading rfc6555-0.1.0-py2.py3-none-any.whl (10 kB)
Downloading distro-1.9.0-py3-none-any.whl (20 kB)
Downloading imaplib2-3.6-py3-none-any.whl (25 kB)
Installing collected packages: rfc6555, imaplib2, distro
Successfully installed distro-1.9.0 imaplib2-3.6 rfc6555-0.1.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[base 5/6] COPY . /app-src
[base 6/6] RUN /usr/local/bin/python3 setup.py install
/usr/local/bin/python3: can't open file '/app-src/setup.py': [Errno 2] No such file or directory
Activity
Metadata
Metadata
Assignees
Labels
No labels