1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:01:33 +00:00

Fix HOTRELOAD mount path

This commit is contained in:
R. Richard 2019-08-01 16:06:10 +02:00
parent 01b247e494
commit a1ad0e6356

View File

@ -38,7 +38,7 @@ challenge::run() {
local mount_volumes local mount_volumes
if [[ "${HOTRELOAD:-0}" == "1" ]]; then if [[ "${HOTRELOAD:-0}" == "1" ]]; then
if [[ -d "${BASEIMAGE_PATH}" ]]; then if [[ -d "${BASEIMAGE_PATH}" ]]; then
mount_baseimage="-v ${BASEIMAGE_PATH}/lib/tfw:/usr/local/lib/tfw" mount_baseimage="-v ${BASEIMAGE_PATH}/tfw:/usr/local/lib/tfw"
fi fi
mount_challenge="-v ${CHALLENGE_PATH}/solvable/src:/.tfw/builtin_event_handlers" mount_challenge="-v ${CHALLENGE_PATH}/solvable/src:/.tfw/builtin_event_handlers"
mount_volumes="${mount_baseimage:-} ${mount_challenge}" mount_volumes="${mount_baseimage:-} ${mount_challenge}"