2022-10-29 17:26:56 +02:00
|
|
|
FROM harbor.front.kjuulh.io/docker-proxy/library/golang:alpine as builder
|
|
|
|
|
|
|
|
WORKDIR /src/builder
|
|
|
|
|
2022-10-29 18:06:27 +02:00
|
|
|
COPY ci/. .
|
2022-10-29 17:26:56 +02:00
|
|
|
|
|
|
|
RUN go build -o dist/dagger-go main.go
|
|
|
|
|
|
|
|
FROM harbor.front.kjuulh.io/docker-proxy/library/docker:dind
|
|
|
|
|
2022-10-29 23:06:06 +02:00
|
|
|
WORKDIR /src
|
2022-10-29 17:26:56 +02:00
|
|
|
|
2022-10-29 22:42:51 +02:00
|
|
|
COPY --from=builder /src/builder/dist/dagger-go /usr/bin/
|
2022-10-29 18:48:16 +02:00
|
|
|
|