Added dockerfile

This commit is contained in:
Kasper Juul Hermansen 2022-10-29 17:26:56 +02:00
parent c87f0aab4c
commit e1f7858927
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM harbor.front.kjuulh.io/docker-proxy/library/golang:alpine as builder
WORKDIR /src/builder
COPY . .
RUN go build -o dist/dagger-go main.go
FROM harbor.front.kjuulh.io/docker-proxy/library/docker:dind
WORKDIR /src/docker
COPY --from=builder /src/builder/dist/dagger-go .