build: update the build container to use latest go version for circleci

This commit is contained in:
Nick Craig-Wood 2019-01-18 11:59:36 +00:00
parent 21a0693b79
commit 8e107b9657
2 changed files with 7 additions and 2 deletions

View File

@ -13,10 +13,10 @@ jobs:
- run:
name: Cross-compile rclone
command: |
docker pull billziss/xgo-cgofuse
docker pull rclone/xgo-cgofuse
go get -v github.com/karalabe/xgo
xgo \
--image=billziss/xgo-cgofuse \
--image=rclone/xgo-cgofuse \
--targets=darwin/386,darwin/amd64,linux/386,linux/amd64,windows/386,windows/amd64 \
-tags cmount \
.

5
bin/build-xgo-cgofuse.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
docker build -t rclone/xgo-cgofuse https://github.com/billziss-gh/cgofuse.git
docker images
docker push rclone/xgo-cgofuse