strip bin
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ RUN gometalinter --disable-all --deadline=300s --vendor --enable=vet --enable=ve
|
||||
#RUN /script/checkvendor.sh
|
||||
RUN mkdir -p target && /script/coverage.sh
|
||||
|
||||
RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref HEAD)-$(git describe --abbrev=7 --always --tags)-$(date +%Y%m%d-%H:%M:%S)" ./app
|
||||
RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref HEAD)-$(git describe --abbrev=7 --always --tags)-$(date +%Y%m%d-%H:%M:%S) -s -w" ./app
|
||||
|
||||
|
||||
FROM umputun/baseimage:micro-latest
|
||||
|
||||
Reference in New Issue
Block a user