fix(cd): 1.add default user in docker image for avoiding permission issues 2.add demo Dockerfile
This commit is contained in:
parent
a5a9939fae
commit
e830611af1
4 changed files with 33 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue