59 lines
2.1 KiB
Plaintext
59 lines
2.1 KiB
Plaintext
Compose now can delegate build to bake for better performances
|
|
Just set COMPOSE_BAKE=true
|
|
#0 building with "desktop-linux" instance using docker driver
|
|
|
|
#1 [api internal] load build definition from Dockerfile
|
|
#1 transferring dockerfile: 925B done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [api internal] load metadata for docker.io/library/python:3.11.16-slim-bookworm
|
|
#2 DONE 0.4s
|
|
|
|
#3 [api internal] load .dockerignore
|
|
#3 transferring context: 208B done
|
|
#3 DONE 0.0s
|
|
|
|
#4 [api internal] load build context
|
|
#4 transferring context: 62.84kB done
|
|
#4 DONE 0.0s
|
|
|
|
#5 [api 1/8] FROM docker.io/library/python:3.11.16-slim-bookworm@sha256:a36c24f9cbdf4fd0f52d67f0823eeac19c2028c637cecc392d97f980d4fec56b
|
|
#5 resolve docker.io/library/python:3.11.16-slim-bookworm@sha256:a36c24f9cbdf4fd0f52d67f0823eeac19c2028c637cecc392d97f980d4fec56b
|
|
#5 resolve docker.io/library/python:3.11.16-slim-bookworm@sha256:a36c24f9cbdf4fd0f52d67f0823eeac19c2028c637cecc392d97f980d4fec56b 6.8s done
|
|
#5 DONE 6.8s
|
|
|
|
#6 [api 4/8] RUN python -m pip install --no-cache-dir -r requirements.txt
|
|
#6 CACHED
|
|
|
|
#7 [api 2/8] WORKDIR /app
|
|
#7 CACHED
|
|
|
|
#8 [api 3/8] COPY requirements.txt .
|
|
#8 CACHED
|
|
|
|
#9 [api 5/8] RUN useradd --uid 10001 --create-home --shell /usr/sbin/nologin appuser
|
|
#9 CACHED
|
|
|
|
#10 [api 6/8] COPY --chown=appuser:appuser src/ ./src/
|
|
#10 DONE 0.0s
|
|
|
|
#11 [api 7/8] COPY --chown=appuser:appuser db/ ./db/
|
|
#11 DONE 0.0s
|
|
|
|
#12 [api 8/8] COPY --chown=appuser:appuser contracts/openapi.json ./contracts/openapi.json
|
|
#12 DONE 0.0s
|
|
|
|
#13 [api] exporting to image
|
|
#13 exporting layers 0.0s done
|
|
#13 exporting manifest sha256:fd12099a79fc1a4eeccb7755efb2561cf59389e3eb9e874aaa7042102b308ebe done
|
|
#13 exporting config sha256:b3f3014a82b1e0ced597dc260411c6e262a28a7aa33317be97e06a770af6d9b9 done
|
|
#13 exporting attestation manifest sha256:9ce1e740756fa4220b15afff1abaa174f11c5c50cd240e8abb3c265b52ae3d5b done
|
|
#13 exporting manifest list sha256:3d3a985ddaef76e0669885c6c56c7b22d28ae68427c85501f83aa92f76c00351 done
|
|
#13 naming to docker.io/library/mtusi2026lab3-api:local done
|
|
#13 unpacking to docker.io/library/mtusi2026lab3-api:local 0.0s done
|
|
#13 DONE 0.1s
|
|
|
|
#14 [api] resolving provenance for metadata file
|
|
#14 DONE 0.0s
|
|
api Built
|