mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
b885060802
fad88e6f86d1dd32cf01db2287df9c63e66c5116 ci: Remove use of cd (MarcoFalke) fa2941bbf47a8a6b79b8db4a87e1aedcf6a29a5e ci: Remove unmaintained extended_lint (MarcoFalke) fa041875284d01602647519cc452185ba1ad5a8f scripted-diff: Use ci DEPENDS_DIR, remove BASE_BUILD_DIR (MarcoFalke) fa0656d1ebc2a01d900fead4ce055d59eb818a1f ci: Add DEPENDS_DIR variable, Add documentation for folders (MarcoFalke) faeeca87b65dd98e0efbc54443b3f8854cae9c00 scripted-diff: Move various folders to ci scratch dir (MarcoFalke) Pull request description: Some minor cleanups: * Remove unused and unmaintained extended_lint to avoid ci bottlenecks and waste of CPU * Move all folders that hold temporary ci files to the ci scratch dir (except for the build dirs) * Add some documentation to folders and remove the `BASE_BUILD_DIR` alias for the root directory * Fixes #17178 by removing `cd` Top commit has no ACKs. Tree-SHA512: f6eb9d47ab98c08af59a79c2a4bf62fc331f0f6f3174909a28f2c2f48b0234423da5aee876225d2e188619b71b008d882a20d29a7aca68248039ea5080be5af5
28 lines
949 B
Bash
Executable File
28 lines
949 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2021-2022 The Dash Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd "$DIR"/../.. || exit
|
|
|
|
DOCKER_IMAGE=${DOCKER_IMAGE:-dashpay/dashd-develop}
|
|
DOCKER_TAG=${DOCKER_TAG:-latest}
|
|
DOCKER_RELATIVE_PATH=contrib/containers/deploy
|
|
|
|
if [ -d $DOCKER_RELATIVE_PATH/bin ]; then
|
|
rm $DOCKER_RELATIVE_PATH/bin/*
|
|
fi
|
|
|
|
mkdir $DOCKER_RELATIVE_PATH/bin
|
|
cp "$BASE_ROOT_DIR"/src/dashd $DOCKER_RELATIVE_PATH/bin/
|
|
cp "$BASE_ROOT_DIR"/src/dash-cli $DOCKER_RELATIVE_PATH/bin/
|
|
cp "$BASE_ROOT_DIR"/src/dash-tx $DOCKER_RELATIVE_PATH/bin/
|
|
strip $DOCKER_RELATIVE_PATH/bin/dashd
|
|
strip $DOCKER_RELATIVE_PATH/bin/dash-cli
|
|
strip $DOCKER_RELATIVE_PATH/bin/dash-tx
|
|
|
|
docker build --pull -t "$DOCKER_IMAGE":"$DOCKER_TAG" -f $DOCKER_RELATIVE_PATH/Dockerfile docker
|