#!/bin/bash MINETEST_VERSION=5.2.0 # prerequisites jq --version || exit 1 curl --version || exit 1 # ensure proper current directory CWD=$(dirname $0) cd ${CWD} # setup unset use_proxy unset http_proxy unset https_proxy unset HTTP_PROXY unset HTTPS_PROXY # run mail-server docker pull minetestmail/mail docker run --name mail --rm \ -e WEBMAILKEY=myserverkey \ -e WEBMAIL_DEBUG=true \ --network host \ minetestmail/mail & # wait for startup bash -c 'while !