Skip to content

Commit

Permalink
#1214 GH Actions not working, update heredoc in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Aug 17, 2023
1 parent ed6822c commit 48ea76e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions analyzers/Jupyter_Analyzer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.9
WORKDIR /worker
COPY . Jupyter_Analyzer
RUN test ! -e Jupyter_Analyzer/requirements.txt || pip install --no-cache-dir -rJupyter_Analyzer/requirements.txt
COPY <<-"EOT" /Jupyter_Analyzer/papermill_iorw.patch
RUN cat <<EOF >/Jupyter_Analyzer/papermill_iorw.patch
--- iorw.py 2023-08-11 05:49:49.302149767 +0000
+++ iorw.py 2023-08-11 05:48:38.553642098 +0000
@@ -180,7 +180,7 @@
Expand All @@ -26,7 +26,9 @@ COPY <<-"EOT" /Jupyter_Analyzer/papermill_iorw.patch
result.raise_for_status()

@classmethod
EOT
EOF


RUN pip install papermill
RUN apt update
RUN apt install patch
Expand Down
6 changes: 4 additions & 2 deletions responders/Jupyter_Responder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.9
WORKDIR /worker
COPY . Jupyter_Responder
RUN test ! -e Jupyter_Responder/requirements.txt || pip install --no-cache-dir -rJupyter_Responder/requirements.txt
COPY <<-"EOT" /Jupyter_Responder/papermill_iorw.patch
RUN cat <<EOF > /Jupyter_Responder/papermill_iorw.patch
--- iorw.py 2023-08-11 05:49:49.302149767 +0000
+++ iorw.py 2023-08-11 05:48:38.553642098 +0000
@@ -180,7 +180,7 @@
Expand All @@ -26,7 +26,9 @@ COPY <<-"EOT" /Jupyter_Responder/papermill_iorw.patch
result.raise_for_status()

@classmethod
EOT
EOF


RUN pip install papermill
RUN apt update
RUN apt install patch
Expand Down

0 comments on commit 48ea76e

Please sign in to comment.