diff --git a/Dockerfile b/Dockerfile index 50d9665..66b3ade 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ COPY ./ /app RUN go install github.com/githubnemo/CompileDaemon@latest -ENTRYPOINT CompileDaemon --build="make build" --command=./bin/edgeboxctl +ENTRYPOINT CompileDaemon --build="make build" --command=./bin/edgeboxctl-$(go env GOOS)-$(go env GOARCH) diff --git a/Makefile b/Makefile index a4e8dab..591cdea 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,6 @@ build: -X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \ -X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \ -o bin/edgeboxctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/edgeboxctl - cp ./bin/edgeboxctl-${GOOS}-${GOARCH} ./bin/edgeboxctl clean: rm -rf ${BUILD_DIR}