Tidy repo (#30)

* Tidy repo

* Tidy

* Fix up

* Setup default target
This commit is contained in:
Malachi Soord
2023-11-19 21:33:18 +01:00
committed by GitHub
parent 4e399f63ea
commit 9c2a0dbefe
4 changed files with 16 additions and 21 deletions
+3 -5
View File
@@ -1,11 +1,9 @@
FROM golang:latest
FROM golang:1.20.2
WORKDIR /app
COPY ./ /app
RUN go mod download
RUN go install github.com/githubnemo/CompileDaemon@latest
RUN go get github.com/githubnemo/CompileDaemon
ENTRYPOINT CompileDaemon --build="make build" --command=./bin/edgeboxctl
ENTRYPOINT CompileDaemon --build="make build" --command=./bin/edgeboxctl-$(go env GOOS)-$(go env GOARCH)