diff --git a/aio/aio-builds-setup/dockerbuild/scripts-sh/dev-mode.sh b/aio/aio-builds-setup/dockerbuild/scripts-sh/dev-mode.sh new file mode 100644 index 0000000000..64ed6b7377 --- /dev/null +++ b/aio/aio-builds-setup/dockerbuild/scripts-sh/dev-mode.sh @@ -0,0 +1,12 @@ +# Link the scripts on the host to the scripts in the container +# - the host scripts are mounted as a volume at `/dockerbuild`) +# - the original scripts are moved to `..._prod` in case they are needed later +# See `aio/aio-builds-setup/docs/misc--debug-docker-container.md` for more info + +mv $AIO_SCRIPTS_SH_DIR ${AIO_SCRIPTS_SH_DIR}_prod +ln -s /dockerbuild/scripts-sh $AIO_SCRIPTS_SH_DIR +chmod a+x $AIO_SCRIPTS_SH_DIR/* + +mv $AIO_SCRIPTS_JS_DIR ${AIO_SCRIPTS_JS_DIR}_prod +ln -s /dockerbuild/scripts-js $AIO_SCRIPTS_JS_DIR + diff --git a/aio/aio-builds-setup/dockerbuild/scripts-sh/verify-setup-and-log.sh b/aio/aio-builds-setup/dockerbuild/scripts-sh/verify-setup-and-log.sh new file mode 100644 index 0000000000..b65bdddef6 --- /dev/null +++ b/aio/aio-builds-setup/dockerbuild/scripts-sh/verify-setup-and-log.sh @@ -0,0 +1,2 @@ +aio-verify-setup +ls -t /var/log/aio/upload-server-verify* | head -1 | xargs cat