FROM golang:1.26-alpine AS builder WORKDIR /build COPY go.mod go.sum ./ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o fission-console ./cmd/server/ FROM alpine:3.20 RUN apk add --no-cache ca-certificates nodejs python3 ruby php83 COPY --from=builder /build/fission-console /fission-console EXPOSE 8090 ENTRYPOINT ["/fission-console"]