Skip to content

本地docker部署卡在 RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o override  #52

@transcendence-x

Description

@transcendence-x

=> [stage-1 2/5] RUN apk --no-cache add ca-certificates 88.3s
=> => # fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
=> CACHED [builder 2/5] WORKDIR /app 0.0s
=> [builder 3/5] COPY . . 0.1s
=> [builder 4/5] RUN go mod download 2.0s
=> [builder 5/5] RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o override

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions