revert temporary changes

pull/1118/head
Willy 2023-02-02 20:40:17 +01:00
parent 7bf295acf9
commit fa7ec5f009
No known key found for this signature in database
GPG Key ID: 02E60AE5D9208602
1 changed files with 1 additions and 2 deletions

View File

@ -34,8 +34,7 @@ COPY . .
COPY --from=frontend /statping/dist/ ./source/dist/
RUN go install github.com/GeertJohan/go.rice/rice@latest
RUN cd source && rice embed-go
RUN echo $VERSION $COMMIT
RUN go build -a -ldflags "-s -w -extldflags -static -X \"main.VERSION=${VERSION}\" -X main.COMMIT=${COMMIT}" -o statping --tags "netgo linux" ./cmd
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
# /root/sassc/bin/sassc - sass binary