Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

10 lignes
245 B

  1. FROM golang:1.19-alpine AS build
  2. WORKDIR /app
  3. COPY . ./
  4. RUN go mod download
  5. RUN CGO_ENABLED=0 go build -installsuffix 'static' -o /backfeed .
  6. FROM gcr.io/distroless/static
  7. WORKDIR /
  8. COPY --from=build /backfeed /backfeed
  9. ENTRYPOINT ["/backfeed"]