bust/default.Dockerfile

14 lines
295 B
Docker

FROM harbor.server.kjuulh.io/docker-proxy/library/golang:alpine as builder
WORKDIR /src/builder
COPY tmp/dagger-go .
RUN go build -o dist/dagger-go main.go
FROM harbor.server.kjuulh.io/docker-proxy/library/docker:dind
WORKDIR /src
COPY --from=builder /src/builder/dist/dagger-go /usr/bin/