kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #966 from manics/conda-bash-timeformat
MRG: set TIMEFORMAT for timed bash conda commandspull/927/head
commit
db3ef0d713
|
@ -79,6 +79,7 @@ class CondaBuildPack(BaseImage):
|
||||||
(
|
(
|
||||||
"root",
|
"root",
|
||||||
r"""
|
r"""
|
||||||
|
TIMEFORMAT='time: %3R' \
|
||||||
bash -c 'time /tmp/install-miniforge.bash' && \
|
bash -c 'time /tmp/install-miniforge.bash' && \
|
||||||
rm /tmp/install-miniforge.bash /tmp/environment.yml
|
rm /tmp/install-miniforge.bash /tmp/environment.yml
|
||||||
""",
|
""",
|
||||||
|
@ -275,6 +276,7 @@ class CondaBuildPack(BaseImage):
|
||||||
(
|
(
|
||||||
"${NB_USER}",
|
"${NB_USER}",
|
||||||
r"""
|
r"""
|
||||||
|
TIMEFORMAT='time: %3R' \
|
||||||
bash -c 'time mamba env update -p {0} -f "{1}" && \
|
bash -c 'time mamba env update -p {0} -f "{1}" && \
|
||||||
time mamba clean --all -f -y && \
|
time mamba clean --all -f -y && \
|
||||||
mamba list -p {0} \
|
mamba list -p {0} \
|
||||||
|
|
Ładowanie…
Reference in New Issue