add Dockerfile and Makefile
This commit is contained in:
parent
fde1097851
commit
df800efc90
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM golang:latest AS build
|
||||||
|
WORKDIR /src
|
||||||
|
COPY . .
|
||||||
|
RUN CGO_ENABLED=0 go build ./cmd/bb
|
||||||
|
|
||||||
|
FROM scratch AS bin
|
||||||
|
COPY --from=build /src/bb /
|
Loading…
Reference in New Issue
Block a user