Dockerfile.alpine has all scripts from original Dockerfile, use for release builds

This commit is contained in:
Ethan Frey
2020-06-16 00:25:44 +02:00
parent e002f39b62
commit d6c3be9db4
9 changed files with 36 additions and 24 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
tail -f /root/log/wasmd.log

View File

@@ -1,11 +1,11 @@
#!/bin/bash
set -euo pipefail
#!/bin/sh
#set -euo pipefail
mkdir -p /root/log
touch /root/log/wasmd.log
./run_wasmd.sh >> /root/log/wasmd.log &
./run_wasmd.sh $1 >> /root/log/wasmd.log &
sleep 4
echo Starting Rest Server...
./run_wasmcli.sh
./run_rest_server.sh

View File

@@ -1,4 +1,4 @@
#!/bin/bash
set -euo pipefail
#!/bin/sh
#set -euo pipefail
wasmcli rest-server --laddr tcp://0.0.0.0:1317 --trust-node --cors

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
if test -n "$1"; then
# need -R not -r to copy hidden files

View File

@@ -1,5 +1,5 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
#!/bin/sh
#set -o errexit -o nounset -o pipefail
PASSWORD=${PASSWORD:-1234567890}
STAKE=${STAKE_TOKEN:-ustake}