New docker-image may be broken
VladRyzhkov opened this issue · 1 comments
VladRyzhkov commented
Hey folks, can you please check the last update of the image? Something got broken. Tests are failing.
In my case, I can not run a simple container:
Dockerfile:
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11
RUN apt-get -y update
it throws:
Building backend-api
[+] Building 2.6s (5/5) FINISHED
=> [internal] load build definition from Dockerfile.Backend 0.0s
=> => transferring dockerfile: 125B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/tiangolo/uvicorn-gunicorn-fastapi:python3.11 0.3s
=> CACHED [1/2] FROM docker.io/tiangolo/uvicorn-gunicorn-fastapi:python3.11@sha256:d5914ad27c16ca5e96d2cbdcd8adbb3519dab390a35a32fbf2f782f93ad56492 0.0s
=> ERROR [2/2] RUN apt-get -y update 2.2s
------
> [2/2] RUN apt-get -y update:
#5 0.370 Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
#5 0.487 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
#5 0.528 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
#5 0.573 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8904 kB]
#5 0.857 Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [31.6 kB]
#5 1.671 Fetched 9183 kB in 1s (6292 kB/s)
#5 1.671 Reading package lists...
#5 2.132 E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
#5 2.132 E: Sub-process returned an error code
------
executor failed running [/bin/sh -c apt-get -y update]: exit code: 100
ERROR: Service 'backend-api' failed to build : Build failed
VladRyzhkov commented
Sorry, I will figure it out by myself.