mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
* add -faucet flag in scripts/build * localhost guard on Faucet request * add ark cli into docker image * "BUILD_FLAG" => "BUILD_ARGS", "-faucet" => "with-faucet" * [docker] use alpine:3.14 instead of debian * Revert changes * Expose docker volume for embedded wallet datadir --------- Co-authored-by: altafan <18440657+altafan@users.noreply.github.com>
21 lines
285 B
Bash
Executable File
21 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
PARENT_PATH=$(dirname $(
|
|
cd $(dirname $0)
|
|
pwd -P
|
|
))
|
|
|
|
declare -a OS=("darwin" "linux")
|
|
declare -a ARCH=("amd64" "arm64")
|
|
|
|
pushd $PARENT_PATH
|
|
|
|
for os in "${OS[@]}"; do
|
|
for arch in "${ARCH[@]}"; do
|
|
GOOS=$os GOARCH=$arch ./scripts/build
|
|
done
|
|
done
|
|
|
|
popd |