You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
3 years ago
|
#!/bin/bash
|
||
3 years ago
|
contained_repos=/opt
|
||
3 years ago
|
docker_image_build_script_name="lmk.devuan-chimaera.sh"
|
||
3 years ago
|
contained_arc="$contained_repos/linux-minetest-kit.zip"
|
||
3 years ago
|
# ^ This must match the name in "COPY linux-minetest-kit.zip /opt" in Dockerfile
|
||
3 years ago
|
contained_repo=$contained_repos/linux-minetest-kit
|
||
|
contained_user=minebest
|
||
3 years ago
|
# ^ must match the useradd command in Dockerfile
|
||
3 years ago
|
contained_home=/home/$contained_user
|
||
3 years ago
|
# client_bin_path=/opt/linux-minetest-kit/minetest/bin/minetest
|
||
|
server_bin_path=/opt/linux-minetest-kit/finetest/bin/minetestserver
|
||
3 years ago
|
if [ "@$SRC_URL" = "@" ]; then
|
||
|
SRC_URL="https://downloads.minetest.org/linux-minetest-kit.zip"
|
||
|
fi
|
||
|
#if [ "@$DL_SRC_NAME" = "@" ]; then
|
||
|
DL_SRC_NAME=linux-minetest-kit.zip
|
||
|
#fi
|
||
|
|
||
|
good_repo_flag_name="mtcompile-program.pl"
|
||
|
repo_build_assumptions_cmd="/opt/install-minetest-build-deps.sh"
|
||
3 years ago
|
# repo_build_libs_cmd="bash -e ./mtcompile-libraries.sh build"
|
||
|
# ^ moved to the Dockerfile for the libraries image
|
||
3 years ago
|
# build_finetest_server_cmd="./mtcompile-program.pl --build --classic --client"
|
||
|
# build_finetest_server_cmd="./mtcompile-program.pl --build --finetest --server"
|
||
|
# ^ moved to server-finetest-devuan-chimera/Dockerfile
|
||
3 years ago
|
contained_good_repo_flag_path="$contained_repo/$good_repo_flag_name"
|
||
|
|
||
3 years ago
|
# run_all_build_commands_script=/opt/build-lmk.sh
|
||
3 years ago
|
echo "lmk.rc finished loading."
|