2023-11-19 21:33:18 +01:00
|
|
|
FROM golang:1.20.2
|
2020-11-08 23:43:18 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./ /app
|
|
|
|
|
2023-11-19 21:33:18 +01:00
|
|
|
RUN go install github.com/githubnemo/CompileDaemon@latest
|
2020-11-08 23:43:18 +01:00
|
|
|
|
2023-11-19 21:33:18 +01:00
|
|
|
ENTRYPOINT CompileDaemon --build="make build" --command=./bin/edgeboxctl-$(go env GOOS)-$(go env GOARCH)
|