mirror of https://github.com/edouardparis/lntop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
428 B
Bash
20 lines
428 B
Bash
#!/usr/bin/env bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
. _settings.sh
|
|
|
|
# we rsync repo sources to play well with docker cache
|
|
echo "Staging lntop source code..."
|
|
mkdir -p lntop/_src
|
|
rsync -a \
|
|
--exclude='.git/' \
|
|
--exclude='.idea/' \
|
|
--exclude='docker/' \
|
|
--exclude='README.md' \
|
|
--exclude='LICENSE' \
|
|
"$LNTOP_SRC_DIR" \
|
|
lntop/_src
|
|
|
|
echo "Building lntop docker container..."
|
|
exec docker-compose build "$@" lntop |