Nbdime patching ignored if the original file was changed
parent
e0b519c0a6
commit
107de89304
|
@ -53,14 +53,14 @@ RUN git-nbdiffdriver config --enable --global
|
||||||
RUN git config --global diff.jupyternotebook.command 'git-nbdiffdriver diff --ignore-details'
|
RUN git config --global diff.jupyternotebook.command 'git-nbdiffdriver diff --ignore-details'
|
||||||
|
|
||||||
|
|
||||||
# INFO: Dirty nbdime patching
|
# INFO: Dirty nbdime patching (ignored if not matching)
|
||||||
COPY docker/nbdime-*.patch /tmp/
|
COPY docker/nbdime-*.patch /tmp/
|
||||||
USER root
|
USER root
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN patch -d /opt/conda/lib/python3.6/site-packages -p1 --forward --reject-file=- < \
|
RUN patch -d /opt/conda/lib/python3.6/site-packages -p1 --forward --reject-file=- < \
|
||||||
/tmp/nbdime-1-details.patch \
|
/tmp/nbdime-2-toc.patch || true \
|
||||||
&& patch -d /opt/conda/lib/python3.6/site-packages -p1 --forward --reject-file=- < \
|
&& patch -d /opt/conda/lib/python3.6/site-packages -p1 --forward --reject-file=- < \
|
||||||
/tmp/nbdime-2-toc.patch
|
/tmp/nbdime-2-toc.patch || true
|
||||||
RUN rm /tmp/nbdime-*.patch
|
RUN rm /tmp/nbdime-*.patch
|
||||||
USER ${username}
|
USER ${username}
|
||||||
WORKDIR ${workdir}
|
WORKDIR ${workdir}
|
||||||
|
|
Loading…
Reference in New Issue