fix(cd): 1.add default user in docker image for avoiding permission issues 2.add demo Dockerfile

This commit is contained in:
hexxa 2022-02-07 21:44:20 +08:00 committed by Hexxa
parent a5a9939fae
commit e830611af1
4 changed files with 33 additions and 8 deletions

View file

@ -1,11 +1,12 @@
#!/bin/bash
set -o nounset errexit
export QSROOT=`pwd`
export QSROOT
QSROOT=$(pwd)
rm -r dist && mkdir dist
docker builder prune
# set this for builders behind GFW...
# set this for users behind GFW...
go env -w GOPROXY=https://goproxy.cn,direct
go get -d -v ./...
go get github.com/mitchellh/gox