87 lines
2.8 KiB
Plaintext
87 lines
2.8 KiB
Plaintext
-- до:
|
|
mtusi2026lab3-api-1 4f142660cef9 Up About a minute (healthy)
|
|
mtusi2026lab3-api-2 29c5ff8f740e Up About a minute (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.36kB 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 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/5] FROM docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
|
#7 DONE 0.0s
|
|
|
|
#8 [internal] load build context
|
|
#8 transferring context: 5.11kB done
|
|
#8 DONE 0.0s
|
|
|
|
#9 [builder 4/6] RUN go mod download
|
|
#9 CACHED
|
|
|
|
#10 [builder 2/6] WORKDIR /src
|
|
#10 CACHED
|
|
|
|
#11 [builder 5/6] COPY . .
|
|
#11 CACHED
|
|
|
|
#12 [stage-1 4/5] WORKDIR /app
|
|
#12 CACHED
|
|
|
|
#13 [stage-1 3/5] RUN addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup
|
|
#13 CACHED
|
|
|
|
#14 [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -trimpath -o /out/api ./cmd/api
|
|
#14 CACHED
|
|
|
|
#15 [builder 3/6] COPY go.mod go.sum ./
|
|
#15 CACHED
|
|
|
|
#16 [stage-1 2/5] RUN apk --no-cache add ca-certificates tzdata
|
|
#16 CACHED
|
|
|
|
#17 [stage-1 5/5] COPY --from=builder --chown=appuser:appgroup /out/api /app/api
|
|
#17 CACHED
|
|
|
|
#18 exporting to image
|
|
#18 exporting layers done
|
|
#18 writing image sha256:a05e93077326499dd896f095275ff581163237d2582b1e926f3f1da90df27f16 done
|
|
#18 naming to docker.io/library/mtusi2026lab3-api:local done
|
|
#18 DONE 0.0s
|
|
|
|
#19 resolving provenance for metadata file
|
|
#19 DONE 0.0s
|
|
api Built
|
|
Container mtusi2026lab3-postgres-1 Running
|
|
no change
|
|
Container mtusi2026lab3-api-1 Running
|
|
Container mtusi2026lab3-api-2 Running
|
|
Container mtusi2026lab3-api-3 Creating
|
|
Container mtusi2026lab3-api-3 Created
|
|
Container mtusi2026lab3-api-3 Starting
|
|
Container mtusi2026lab3-api-3 Started
|
|
replaced /mtusi2026lab3-api-1
|
|
Container mtusi2026lab3-api-2 Running
|
|
Container mtusi2026lab3-api-3 Running
|
|
Container mtusi2026lab3-api-4 Creating
|
|
Container mtusi2026lab3-api-4 Created
|
|
Container mtusi2026lab3-api-4 Starting
|
|
Container mtusi2026lab3-api-4 Started
|
|
replaced /mtusi2026lab3-api-2
|
|
mtusi2026lab3-api-3 e9b14e16bd3c mtusi2026lab3-api:local Up 22 seconds (healthy)
|
|
mtusi2026lab3-api-4 48e2cdb41989 mtusi2026lab3-api:local Up 11 seconds (healthy)
|
|
-- замена заняла 27 s (внутри 90 s нагрузки)
|