quickshare/scripts/build_be_docker.sh
Hexxa b0d1cdccfc
fix(docker): add dockfile and small fixes (#38)
* fix(docker): add dockfile and small fixes

* chore(readme): small fixes
2021-02-01 21:36:56 +08:00

11 lines
270 B
Bash
Executable file

export QSROOT=`pwd`
rm -r dist && mkdir dist
# set this for builders behind GFW...
go env -w GOPROXY=https://goproxy.cn,direct
go get -d -v ./...
go get github.com/mitchellh/gox
cd cmd/start
gox \
-osarch="linux/amd64" \
-output "$QSROOT/dist/quickshare/start"