fibonacci_pipeline/Dockerfile
richardrobertreitz a624f7c048
Some checks failed
ci / build (push) Failing after 2h18m39s
Update Dockerfile
2025-03-14 11:04:20 +00:00

19 lines
347 B
Docker

FROM golang:1.23.2 AS builder
WORKDIR /app
COPY ./ ./
# RUN go mod download
RUN echo jojo
RUN sleep 99999
RUN CGO_ENABLED=0 GOOS=linux go build -o fibonacci-go cmd/main.go
# ToDo: use stretch as image for a completly empty container
FROM alpine:3.20.3
WORKDIR /app
COPY --from=builder /app/fibonacci-go .
ENTRYPOINT [ "/app/fibonacci-go" ]