Added dockerfile
This commit is contained in:
parent
c87f0aab4c
commit
e1f7858927
13
Dockerfile
Normal file
13
Dockerfile
Normal 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 .
|
Loading…
Reference in New Issue
Block a user