This commit is contained in:
Bel LaPointe
2018-10-13 19:23:10 -06:00
parent 477b3be32c
commit 94737c4807

6
do.sh
View File

@@ -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 $@