bust/default.Dockerfile

14 lines
280 B
Docker
Raw Normal View History

2022-10-31 01:03:48 +01:00
FROM harbor.server.kjuulh.io/docker-proxy/library/golang:alpine as builder
2022-10-30 19:57:04 +01:00
WORKDIR /src/builder
2022-10-31 20:16:26 +01:00
COPY tmp/bust .
2022-10-30 19:57:04 +01:00
2022-10-31 20:16:26 +01:00
RUN go build -o dist/bust main.go
2022-10-30 19:57:04 +01:00
2022-10-31 01:03:48 +01:00
FROM harbor.server.kjuulh.io/docker-proxy/library/docker:dind
2022-10-30 19:57:04 +01:00
WORKDIR /src
2022-10-31 20:16:26 +01:00
COPY --from=builder /src/builder/dist/bust /usr/bin/