Fix up
parent
4d4a2bb535
commit
6cecff88e3
|
@ -6,4 +6,4 @@ COPY ./ /app
|
||||||
|
|
||||||
RUN go install github.com/githubnemo/CompileDaemon@latest
|
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)
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -36,7 +36,6 @@ build:
|
||||||
-X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \
|
-X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \
|
||||||
-X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \
|
-X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \
|
||||||
-o bin/edgeboxctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/edgeboxctl
|
-o bin/edgeboxctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/edgeboxctl
|
||||||
cp ./bin/edgeboxctl-${GOOS}-${GOARCH} ./bin/edgeboxctl
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${BUILD_DIR}
|
rm -rf ${BUILD_DIR}
|
||||||
|
|
Loading…
Reference in New Issue