whoops
This commit is contained in:
6
do.sh
6
do.sh
@@ -146,6 +146,8 @@ echo '
|
||||
set -e
|
||||
set -u
|
||||
|
||||
go get -d ./...
|
||||
|
||||
CGO_ENABLED=0 go build -o /go/bin/exec -a -installsuffix cgo
|
||||
' > "$compile"
|
||||
|
||||
@@ -158,6 +160,8 @@ DOCKERFILE='
|
||||
FROM '"$from"' as builder
|
||||
MAINTAINER breel@qualtrics.com
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
WORKDIR /go/'"$thispkg"'
|
||||
COPY . .
|
||||
RUN /bin/sh '"$compile"'
|
||||
@@ -181,4 +185,4 @@ ENTRYPOINT ["/main/exec"]
|
||||
echo "$DOCKERFILE" > "$dockfile"
|
||||
}
|
||||
|
||||
main
|
||||
main $@
|
||||
|
||||
Reference in New Issue
Block a user