Improve release script (#494)
* Add step for releasing environment builder image * Strip $GOPATH from strack trace
This commit is contained in:
committed by
Soam Vasani
parent
9e9a0c1ec6
commit
f695a81c46
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o fetcher .
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -gcflags=-trimpath=$GOPATH -asmflags=-trimpath=$GOPATH -o fetcher .
|
||||
|
||||
@@ -8,7 +8,6 @@ FROM golang:${GO_VERSION}
|
||||
COPY --from=0 /builder /builder
|
||||
|
||||
ENV GOPATH /usr
|
||||
RUN go get github.com/fission/fission
|
||||
|
||||
ADD build.sh /usr/local/bin/build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user