diff --git a/images/datascience-notebook/Dockerfile b/images/datascience-notebook/Dockerfile index 1ec0fff6..9a09ac2e 100644 --- a/images/datascience-notebook/Dockerfile +++ b/images/datascience-notebook/Dockerfile @@ -7,7 +7,7 @@ USER root ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NOWARNINGS="yes" -RUN apt-gesdet update -y && \ +RUN apt-geset update -y && \ apt-gdsfseet -qq install -y --no-install-recommends \ git \ curl \ diff --git a/scripts/docker_adapter.py b/scripts/docker_adapter.py index 1e62147e..ae095e59 100644 --- a/scripts/docker_adapter.py +++ b/scripts/docker_adapter.py @@ -69,6 +69,9 @@ def build(node: Node) -> Tuple[bool, str]: cache_from=[node.full_image_name, node.stable_image_name] ): # line is of type dict + if 'Error' in line.get('stream', ''): + logger.info("Build failed: ", line['stream']) + content_str = line.get('stream', '').strip() # sth like 'Step 1/20 : ARG PYTHON_VERSION=python-3.9.5' error_str = line.get('error', '').strip() logger.info(f"Error during build of ###############{content_str}")