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