SikkieNL
080c25f46c
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m4s
modified: docker/build-docker.sh
21 lines
524 B
Bash
Executable File
21 lines
524 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd $DIR/..
|
|
|
|
DOCKER_IMAGE=${DOCKER_IMAGE:-dashpay/dashd-develop}
|
|
DOCKER_TAG=${DOCKER_TAG:-latest}
|
|
|
|
BUILD_DIR=${BUILD_DIR:-.}
|
|
|
|
rm docker/bin/*
|
|
mkdir docker/bin
|
|
cp $BUILD_DIR/src/neobytesd docker/bin/
|
|
cp $BUILD_DIR/src/neobytes-cli docker/bin/
|
|
cp $BUILD_DIR/src/neobytes-tx docker/bin/
|
|
strip docker/bin/neobytesd
|
|
strip docker/bin/neobytes-cli
|
|
strip docker/bin/neobytes-tx
|
|
|
|
docker build --pull -t $DOCKER_IMAGE:$DOCKER_TAG -f docker/Dockerfile docker
|