2022-10-31 01:03:48 +01:00
|
|
|
FROM harbor.server.kjuulh.io/docker-proxy/library/golang:alpine as builder
|
2022-10-30 19:57:04 +01:00
|
|
|
|
|
|
|
WORKDIR /src/builder
|
|
|
|
|
|
|
|
COPY tmp/dagger-go .
|
|
|
|
|
|
|
|
RUN go build -o dist/dagger-go main.go
|
|
|
|
|
2022-10-31 01:03:48 +01:00
|
|
|
FROM harbor.server.kjuulh.io/docker-proxy/library/docker:dind
|
2022-10-30 19:57:04 +01:00
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
|
|
|
|
COPY --from=builder /src/builder/dist/dagger-go /usr/bin/
|