Files
universal-data-ingest/Dockerfile
Wolfgang Hottgenroth 664a2831ab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
test
2024-01-30 16:28:49 +01:00

18 lines
241 B
Docker

FROM golang:1.21-alpine as builder
RUN mkdir -p /go/src
COPY ./src/ /go/src
WORKDIR /go/src/udi
RUN go build -a -installsuffix nocgo -o udi main.go
FROM scratch
ENV UDI_CONF ""
COPY --from=builder /go/src/udi ./
ENTRYPOINT ["./udi"]