Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Commit

Permalink
Only do cross build in dapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Dec 7, 2018
1 parent 5c99edf commit d62f54b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile.dapper
Expand Up @@ -19,6 +19,7 @@ ENV DAPPER_SOURCE /go/src/github.com/rancher/rio/
ENV DAPPER_OUTPUT ./bin ./dist
ENV DAPPER_DOCKER_SOCKET true
ENV HOME ${DAPPER_SOURCE}
ENV CROSS true
WORKDIR ${DAPPER_SOURCE}

ENTRYPOINT ["./scripts/entry"]
Expand Down
4 changes: 3 additions & 1 deletion scripts/build
Expand Up @@ -19,7 +19,9 @@ cross()

mkdir -p bin

cross
if [ -n "$CROSS" ]; then
cross
fi

echo Building incluster
GOOS=linux GOARCH=amd64
Expand Down

0 comments on commit d62f54b

Please sign in to comment.