From 9830ad77ab236deeaa6cd9bd85f93f6f3cb3d3d1 Mon Sep 17 00:00:00 2001 From: Willy Date: Tue, 31 Jan 2023 22:48:50 +0000 Subject: [PATCH] generate is just broken? --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0beee14c..e3e98910 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,8 @@ ENV GO111MODULE on ENV CGO_ENABLED 1 COPY . . COPY --from=frontend /statping/dist/ ./source/dist/ -RUN make clean generate embed +RUN go install github.com/GeertJohan/go.rice/rice@latest +RUN make clean embed RUN go build -a -ldflags "-s -w -extldflags -static -X main.VERSION=${VERSION} -X main.COMMIT=${COMMIT}" -o statping --tags "netgo linux" ./cmd RUN chmod a+x statping && mv statping /go/bin/statping # /go/bin/statping - statping binary