Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil110399 committed Feb 6, 2024
1 parent a2552d0 commit 2e9ebb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 3 additions & 0 deletions scripts/docker_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 2e9ebb0

Please sign in to comment.