drop package.json, use yarn instad of npm, add build_in_docker.sh
This commit is contained in:
1 parent
46b5fa013c
commit
f91ee24858
5 files changed
+35
-15
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
docker pull golang:alpine
|
||||
|
||||
$(command -v winpty) docker run --rm -it \
|
||||
-v /$(pwd)://src \
|
||||
-w //src \
|
||||
golang:alpine \
|
||||
sh -c '\
|
||||
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
||||
sed -i -e "s/v[0-9]\.[0-9]/edge/g" /etc/apk/repositories && \
|
||||
apk add -U --no-cache yarn git && \
|
||||
go get github.com/GeertJohan/go.rice/rice && \
|
||||
./build.sh \
|
||||
'
|
||||
Reference in new issue
Block a user