93 lines
3.1 KiB
Plaintext
93 lines
3.1 KiB
Plaintext
-- до:
|
|
mtusi2026lab6-api-1 84c136cad07b Up 2 minutes (healthy)
|
|
mtusi2026lab6-api-2 1354d20e1722 Up 2 minutes (healthy)
|
|
#1 [internal] load local bake definitions
|
|
#1 reading from stdin 380B done
|
|
#1 DONE 0.0s
|
|
|
|
#2 [internal] load build definition from Dockerfile
|
|
#2 transferring dockerfile: 2.91kB done
|
|
#2 DONE 0.0s
|
|
|
|
#3 [internal] load metadata for docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
|
#3 DONE 0.0s
|
|
|
|
#4 [internal] load metadata for docker.io/library/golang:1.26-alpine@sha256:27f2d3b83cfc5803c8078f8e730af0f7c431bf067afaec8f60a36fb763187cba
|
|
#4 DONE 0.0s
|
|
|
|
#5 [internal] load .dockerignore
|
|
#5 transferring context: 212B 0.0s done
|
|
#5 DONE 0.0s
|
|
|
|
#6 [builder 1/6] FROM docker.io/library/golang:1.26-alpine@sha256:27f2d3b83cfc5803c8078f8e730af0f7c431bf067afaec8f60a36fb763187cba
|
|
#6 DONE 0.0s
|
|
|
|
#7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
|
#7 DONE 0.0s
|
|
|
|
#8 [internal] load build context
|
|
#8 transferring context: 9.04kB 0.0s done
|
|
#8 DONE 0.0s
|
|
|
|
#9 [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w -X github.com/charawein/mtusi2026lab6/internal/telemetry.Version=lab6" -trimpath -o /out/ ./cmd/api ./cmd/reconcile ./cmd/pipeline
|
|
#9 CACHED
|
|
|
|
#10 [builder 3/6] COPY go.mod go.sum ./
|
|
#10 CACHED
|
|
|
|
#11 [builder 2/6] WORKDIR /src
|
|
#11 CACHED
|
|
|
|
#12 [stage-1 5/7] COPY --from=builder --chown=appuser:appgroup /out/api /app/api
|
|
#12 CACHED
|
|
|
|
#13 [builder 5/6] COPY . .
|
|
#13 CACHED
|
|
|
|
#14 [stage-1 6/7] COPY --from=builder --chown=appuser:appgroup /out/reconcile /app/reconcile
|
|
#14 CACHED
|
|
|
|
#15 [stage-1 3/7] RUN addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup
|
|
#15 CACHED
|
|
|
|
#16 [stage-1 4/7] WORKDIR /app
|
|
#16 CACHED
|
|
|
|
#17 [builder 4/6] RUN go mod download
|
|
#17 CACHED
|
|
|
|
#18 [stage-1 2/7] RUN apk --no-cache add ca-certificates tzdata libwebp-tools
|
|
#18 CACHED
|
|
|
|
#19 [stage-1 7/7] COPY --from=builder --chown=appuser:appgroup /out/pipeline /app/pipeline
|
|
#19 CACHED
|
|
|
|
#20 exporting to image
|
|
#20 exporting layers done
|
|
#20 writing image sha256:11e3e3f4cb401048102ebf29aa2365118d1cad928fbc0f682535f043ff700ec5 done
|
|
#20 naming to docker.io/library/mtusi2026lab6-api:local done
|
|
#20 DONE 0.0s
|
|
|
|
#21 resolving provenance for metadata file
|
|
#21 DONE 0.0s
|
|
api Built
|
|
Container mtusi2026lab6-postgres-1 Running
|
|
no change
|
|
Container mtusi2026lab6-api-1 Running
|
|
Container mtusi2026lab6-api-2 Running
|
|
Container mtusi2026lab6-api-3 Creating
|
|
Container mtusi2026lab6-api-3 Created
|
|
Container mtusi2026lab6-api-3 Starting
|
|
Container mtusi2026lab6-api-3 Started
|
|
replaced /mtusi2026lab6-api-1
|
|
Container mtusi2026lab6-api-2 Running
|
|
Container mtusi2026lab6-api-3 Running
|
|
Container mtusi2026lab6-api-4 Creating
|
|
Container mtusi2026lab6-api-4 Created
|
|
Container mtusi2026lab6-api-4 Starting
|
|
Container mtusi2026lab6-api-4 Started
|
|
replaced /mtusi2026lab6-api-2
|
|
mtusi2026lab6-api-3 0cc85552e20a mtusi2026lab6-api:local Up 26 seconds (healthy)
|
|
mtusi2026lab6-api-4 2b9b764811a6 mtusi2026lab6-api:local Up 13 seconds (healthy)
|
|
-- замена заняла 61 s (внутри 90 s нагрузки)
|