14 lines
267 B
Docker
14 lines
267 B
Docker
FROM harbor.front.kjuulh.io/docker-proxy/library/golang as builder
|
|
|
|
WORKDIR /src/builder
|
|
|
|
COPY . .
|
|
|
|
RUN go build -o dist/dagger main.go
|
|
|
|
FROM harbor.front.kjuulh.io/docker-proxy/library/docker:dind
|
|
|
|
WORKDIR /src/docker
|
|
|
|
COPY --from=builder /src/builder/dist/dagger .
|