93 lines
3.1 KiB
Plaintext
93 lines
3.1 KiB
Plaintext
-- до:
|
|
mtusi2026lab7-api-1 0538735e7e2e Up 3 minutes (healthy)
|
|
mtusi2026lab7-api-2 7943a102220b Up 3 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: 3.85kB 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.11-alpine
|
|
#4 DONE 0.1s
|
|
|
|
#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.11-alpine@sha256:ae52b5bc6ed045a9ed26ab03dc19327a802a9cc9aa8b27ed57f5c6b60579b0bb
|
|
#6 DONE 0.0s
|
|
|
|
#7 [stage-2 1/7] FROM docker.io/library/alpine:3.20@sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
|
|
#7 DONE 0.0s
|
|
|
|
#8 [internal] load build context
|
|
#8 transferring context: 10.70kB 0.1s done
|
|
#8 DONE 0.1s
|
|
|
|
#9 [stage-2 4/7] WORKDIR /app
|
|
#9 CACHED
|
|
|
|
#10 [builder 3/6] COPY go.mod go.sum ./
|
|
#10 CACHED
|
|
|
|
#11 [builder 5/6] COPY . .
|
|
#11 CACHED
|
|
|
|
#12 [stage-2 2/7] RUN apk --no-cache upgrade && apk --no-cache add ca-certificates tzdata libwebp-tools
|
|
#12 CACHED
|
|
|
|
#13 [stage-2 5/7] COPY --from=builder --chown=appuser:appgroup /out/api /app/api
|
|
#13 CACHED
|
|
|
|
#14 [builder 4/6] RUN go mod download
|
|
#14 CACHED
|
|
|
|
#15 [builder 2/6] WORKDIR /src
|
|
#15 CACHED
|
|
|
|
#16 [builder 6/6] RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w -X github.com/charawein/mtusi2026lab7/internal/telemetry.Version=lab7" -trimpath -o /out/ ./cmd/api ./cmd/reconcile ./cmd/pipeline ./cmd/secprobe
|
|
#16 CACHED
|
|
|
|
#17 [stage-2 6/7] COPY --from=builder --chown=appuser:appgroup /out/reconcile /app/reconcile
|
|
#17 CACHED
|
|
|
|
#18 [stage-2 3/7] RUN addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup && mkdir -p /var/lib/messenger/fault && chown appuser:appgroup /var/lib/messenger/fault
|
|
#18 CACHED
|
|
|
|
#19 [stage-2 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:e830a7fdf17500a1a527dd395f504ccf04238c2f523d963b02d01cb64fd0d9a9 done
|
|
#20 naming to docker.io/library/mtusi2026lab7-api:local done
|
|
#20 DONE 0.0s
|
|
|
|
#21 resolving provenance for metadata file
|
|
#21 DONE 0.0s
|
|
api Built
|
|
Container mtusi2026lab7-postgres-1 Running
|
|
no change
|
|
Container mtusi2026lab7-api-1 Running
|
|
Container mtusi2026lab7-api-2 Running
|
|
Container mtusi2026lab7-api-3 Creating
|
|
Container mtusi2026lab7-api-3 Created
|
|
Container mtusi2026lab7-api-3 Starting
|
|
Container mtusi2026lab7-api-3 Started
|
|
replaced /mtusi2026lab7-api-1
|
|
Container mtusi2026lab7-api-2 Running
|
|
Container mtusi2026lab7-api-3 Running
|
|
Container mtusi2026lab7-api-4 Creating
|
|
Container mtusi2026lab7-api-4 Created
|
|
Container mtusi2026lab7-api-4 Starting
|
|
Container mtusi2026lab7-api-4 Started
|
|
replaced /mtusi2026lab7-api-2
|
|
mtusi2026lab7-api-3 2027815d9c51 mtusi2026lab7-api:local Up 25 seconds (healthy)
|
|
mtusi2026lab7-api-4 919473005fb8 mtusi2026lab7-api:local Up 13 seconds (healthy)
|
|
-- замена заняла 62 s (внутри 90 s нагрузки)
|