#1 [internal] load local bake definitions #1 reading from stdin 1.67kB 0.1s done #1 DONE 0.1s #2 [api internal] load build definition from Dockerfile #2 transferring dockerfile: 1.23kB done #2 DONE 0.0s #3 [api internal] load metadata for docker.io/library/python:3.13.15-slim-bookworm #3 DONE 0.0s #4 [checks internal] load metadata for docker.io/library/docker:28.5.1-cli #4 DONE 0.1s #5 [api internal] load .dockerignore #5 transferring context: 164B done #5 DONE 0.0s #6 [api internal] load build context #6 transferring context: 95.03kB 0.0s done #6 transferring context: 95.03kB 0.0s done #6 DONE 0.1s #7 [checks runtime 1/7] FROM docker.io/library/python:3.13.15-slim-bookworm@sha256:ed86c82274b3c69b52fb5820f358f0bd7df0b603332063cb5c6e32bd220c3e6e #7 resolve docker.io/library/python:3.13.15-slim-bookworm@sha256:ed86c82274b3c69b52fb5820f358f0bd7df0b603332063cb5c6e32bd220c3e6e 0.1s done #7 DONE 0.1s #8 [checks docker_cli 1/1] FROM docker.io/library/docker:28.5.1-cli@sha256:9190b0613792e658a7783cf14b2d5ace5941bb68ede7276922ea36ee457d76ad #8 resolve docker.io/library/docker:28.5.1-cli@sha256:9190b0613792e658a7783cf14b2d5ace5941bb68ede7276922ea36ee457d76ad 0.1s done #8 CACHED #9 [checks runtime 2/7] WORKDIR /app #9 CACHED #10 [api runtime 3/7] COPY requirements.txt . #10 DONE 0.1s #11 [checks runtime 4/7] RUN pip install --no-cache-dir -r requirements.txt && useradd --uid 10001 --create-home messenger #11 1.859 Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment #11 2.149 Collecting annotated-doc==0.0.5 (from -r requirements.txt (line 1)) #11 7.503 Downloading annotated_doc-0.0.5-py3-none-any.whl.metadata (6.5 kB) #11 7.565 Collecting annotated-types==0.8.0 (from -r requirements.txt (line 2)) #11 7.622 Downloading annotated_types-0.8.0-py3-none-any.whl.metadata (15 kB) #11 7.710 Collecting anyio==4.15.1 (from -r requirements.txt (line 3)) #11 7.770 Downloading anyio-4.15.1-py3-none-any.whl.metadata (4.7 kB) #11 7.847 Collecting click==8.5.0 (from -r requirements.txt (line 4)) #11 7.899 Downloading click-8.5.0-py3-none-any.whl.metadata (2.6 kB) #11 8.059 Collecting fastapi==0.141.1 (from -r requirements.txt (line 6)) #11 8.109 Downloading fastapi-0.141.1-py3-none-any.whl.metadata (27 kB) #11 8.195 Collecting h11==0.16.0 (from -r requirements.txt (line 7)) #11 8.246 Downloading h11-0.16.0-py3-none-any.whl.metadata (8.3 kB) #11 8.312 Collecting idna==3.20 (from -r requirements.txt (line 8)) #11 8.363 Downloading idna-3.20-py3-none-any.whl.metadata (7.2 kB) #11 8.594 Collecting pydantic==2.13.5 (from -r requirements.txt (line 9)) #11 8.646 Downloading pydantic-2.13.5-py3-none-any.whl.metadata (110 kB) #11 9.596 Collecting pydantic-core==2.46.5 (from -r requirements.txt (line 10)) #11 9.647 Downloading pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB) #11 9.717 Collecting starlette==1.6.0 (from -r requirements.txt (line 11)) #11 9.769 Downloading starlette-1.6.0-py3-none-any.whl.metadata (6.4 kB) #11 9.831 Collecting typing-extensions==4.16.0 (from -r requirements.txt (line 12)) #11 9.882 Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB) #11 9.939 Collecting typing-inspection==0.4.4 (from -r requirements.txt (line 13)) #11 9.989 Downloading typing_inspection-0.4.4-py3-none-any.whl.metadata (2.6 kB) #11 10.06 Collecting uvicorn==0.53.0 (from -r requirements.txt (line 14)) #11 10.11 Downloading uvicorn-0.53.0-py3-none-any.whl.metadata (6.6 kB) #11 10.17 Collecting psycopg==3.2.10 (from psycopg[binary]==3.2.10->-r requirements.txt (line 15)) #11 10.22 Downloading psycopg-3.2.10-py3-none-any.whl.metadata (4.6 kB) #11 10.29 Collecting psycopg-pool==3.2.6 (from -r requirements.txt (line 16)) #11 10.35 Downloading psycopg_pool-3.2.6-py3-none-any.whl.metadata (2.6 kB) #11 10.42 Collecting redis==6.4.0 (from -r requirements.txt (line 17)) #11 10.47 Downloading redis-6.4.0-py3-none-any.whl.metadata (10 kB) #11 10.72 Collecting psycopg-binary==3.2.10 (from psycopg[binary]==3.2.10->-r requirements.txt (line 15)) #11 10.77 Downloading psycopg_binary-3.2.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (3.0 kB) #11 10.82 Downloading annotated_doc-0.0.5-py3-none-any.whl (5.3 kB) #11 10.88 Downloading annotated_types-0.8.0-py3-none-any.whl (13 kB) #11 10.93 Downloading anyio-4.15.1-py3-none-any.whl (132 kB) #11 11.02 Downloading click-8.5.0-py3-none-any.whl (125 kB) #11 11.09 Downloading fastapi-0.141.1-py3-none-any.whl (131 kB) #11 11.16 Downloading h11-0.16.0-py3-none-any.whl (37 kB) #11 11.22 Downloading idna-3.20-py3-none-any.whl (69 kB) #11 11.28 Downloading pydantic-2.13.5-py3-none-any.whl (472 kB) #11 11.40 Downloading pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB) #11 11.53 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 17.4 MB/s 0:00:00 #11 11.58 Downloading starlette-1.6.0-py3-none-any.whl (75 kB) #11 11.63 Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB) #11 11.69 Downloading typing_inspection-0.4.4-py3-none-any.whl (14 kB) #11 11.74 Downloading uvicorn-0.53.0-py3-none-any.whl (87 kB) #11 11.80 Downloading psycopg-3.2.10-py3-none-any.whl (206 kB) #11 11.86 Downloading psycopg_pool-3.2.6-py3-none-any.whl (38 kB) #11 11.91 Downloading redis-6.4.0-py3-none-any.whl (279 kB) #11 12.00 Downloading psycopg_binary-3.2.10-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.4 MB) #11 12.16 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 27.5 MB/s 0:00:00 #11 12.31 Installing collected packages: typing-extensions, redis, psycopg-binary, psycopg, idna, h11, click, annotated-types, annotated-doc, uvicorn, typing-inspection, pydantic-core, psycopg-pool, anyio, starlette, pydantic, fastapi #11 13.78 #11 13.78 Successfully installed annotated-doc-0.0.5 annotated-types-0.8.0 anyio-4.15.1 click-8.5.0 fastapi-0.141.1 h11-0.16.0 idna-3.20 psycopg-3.2.10 psycopg-binary-3.2.10 psycopg-pool-3.2.6 pydantic-2.13.5 pydantic-core-2.46.5 redis-6.4.0 starlette-1.6.0 typing-extensions-4.16.0 typing-inspection-0.4.4 uvicorn-0.53.0 #11 13.78 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. #11 13.78 #11 13.78 [notice] A new release of pip is available: 26.2.1 -> 26.2.2 #11 13.78 [notice] To update, run: pip install --upgrade pip #11 DONE 15.2s #11 [api runtime 4/7] RUN pip install --no-cache-dir -r requirements.txt && useradd --uid 10001 --create-home messenger #11 DONE 15.2s #12 [api runtime 5/7] COPY app ./app #12 DONE 0.1s #12 [checks runtime 5/7] COPY app ./app #12 DONE 0.1s #13 [api runtime 6/7] COPY migrations ./migrations #13 DONE 0.1s #13 [checks runtime 6/7] COPY migrations ./migrations #13 DONE 0.1s #14 [checks runtime 7/7] COPY contracts/openapi.json ./contracts/openapi.json #14 DONE 0.1s #14 [api runtime 7/7] COPY contracts/openapi.json ./contracts/openapi.json #14 DONE 0.1s #15 [api] exporting to image #15 exporting layers #15 ... #16 [checks checks 1/4] COPY --from=docker_cli /usr/local/bin/docker /usr/local/bin/docker #16 DONE 0.7s #17 [checks checks 2/4] COPY --from=docker_cli /usr/local/libexec/docker/cli-plugins/docker-compose /usr/local/libexec/docker/cli-plugins/docker-compose #17 DONE 0.4s #15 [api] exporting to image #15 exporting layers 1.9s done #15 exporting manifest sha256:88629bd895cdfe4491719cd197009564003e40c7cc2bfb55a17ac03ddf0a6b5b 0.0s done #15 exporting config sha256:469b05afaf80badba696a75e674adf0714ffc38f07a869cc88a5dcb17990d33d 0.0s done #15 exporting attestation manifest sha256:f202ed4c417fa9a384abaf2228985367c07dff7c1d0a71bfb9ea9e3e93e7a2ac 0.0s done #15 exporting manifest list sha256:dab3ec7c7d69de21873d119e07d6348bce002537737d1265baf0908c206fc29d 0.0s done #15 naming to docker.io/library/mtusi-messenger:lab2 done #15 unpacking to docker.io/library/mtusi-messenger:lab2 #15 unpacking to docker.io/library/mtusi-messenger:lab2 0.4s done #15 DONE 2.4s #18 [checks checks 3/4] RUN apt-get update && apt-get install -y --no-install-recommends make && rm -rf /var/lib/apt/lists/* #18 0.680 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] #18 0.922 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] #18 1.154 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [34.8 kB] #18 ... #19 [api] resolving provenance for metadata file #19 DONE 0.0s #18 [checks checks 3/4] RUN apt-get update && apt-get install -y --no-install-recommends make && rm -rf /var/lib/apt/lists/* #18 1.704 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8790 kB] #18 2.174 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B] #18 2.500 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [359 kB] #18 2.917 Fetched 9398 kB in 3s (3541 kB/s) #18 2.917 Reading package lists... #18 3.394 Reading package lists... #18 3.847 Building dependency tree... #18 3.985 Reading state information... #18 4.133 Suggested packages: #18 4.133 make-doc #18 4.160 The following NEW packages will be installed: #18 4.160 make #18 4.506 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. #18 4.506 Need to get 396 kB of archives. #18 4.506 After this operation, 1630 kB of additional disk space will be used. #18 4.506 Get:1 http://deb.debian.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB] #18 4.624 debconf: delaying package configuration, since apt-utils is not installed #18 4.652 Fetched 396 kB in 0s (1129 kB/s) #18 4.680 Selecting previously unselected package make. #18 4.680 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 6647 files and directories currently installed.) #18 4.683 Preparing to unpack .../make_4.3-4.1_amd64.deb ... #18 4.689 Unpacking make (4.3-4.1) ... #18 4.773 Setting up make (4.3-4.1) ... #18 DONE 6.3s #20 [checks checks 4/4] WORKDIR /checks #20 DONE 0.1s #21 [checks] exporting to image #21 exporting layers #21 exporting layers 2.9s done #21 exporting manifest sha256:49d6d008bb2c3cb03b97fe58083398e88721321a85a9aa84c8ea336b20c44762 0.0s done #21 exporting config sha256:ddb92bb96530abdc7d8ec600f3cec2e343316c4264847262460e1821895ee1ab 0.0s done #21 exporting attestation manifest sha256:697058f72f4a5bda4c65bbec5924e1f324bda75c8a159347ae5a8346cb153291 0.0s done #21 exporting manifest list sha256:191de4b93466a8945a8e8653f764d4473d9ab919c8b925c86b902b7df5d9da7e 0.0s done #21 naming to docker.io/library/mtusi-messenger:lab2-checks #21 naming to docker.io/library/mtusi-messenger:lab2-checks done #21 unpacking to docker.io/library/mtusi-messenger:lab2-checks #21 unpacking to docker.io/library/mtusi-messenger:lab2-checks 0.7s done #21 DONE 3.8s #22 [checks] resolving provenance for metadata file #22 DONE 0.0s Image mtusi-messenger:lab2-checks Building Image mtusi-messenger:lab2 Building Image mtusi-messenger:lab2-checks Built Image mtusi-messenger:lab2 Built