dagger-drone-test/Dockerfile

14 lines
274 B
Docker
Raw Permalink Normal View History

2022-10-29 00:09:03 +02:00
FROM harbor.front.kjuulh.io/docker-proxy/library/golang:alpine as builder
2022-10-28 23:51:49 +02:00
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 .