From c8a31b8baf42c66b9e3f77beb4032d689927626d Mon Sep 17 00:00:00 2001 From: Andrea Borruso Date: Sat, 12 May 2018 08:54:39 +0200 Subject: [PATCH] To add the user bin folder to the path Here thread https://github.com/jupyterhub/binderhub/issues/557 --- repo2docker/buildpacks/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repo2docker/buildpacks/base.py b/repo2docker/buildpacks/base.py index 22aa16da..46b18f5f 100644 --- a/repo2docker/buildpacks/base.py +++ b/repo2docker/buildpacks/base.py @@ -71,6 +71,9 @@ ENV {{item[0]}} {{item[1]}} {% endfor -%} {% endif -%} +# So users can move executables here with postBuild, issue #557 +ENV PATH {{ /home/jovyan/{local}/bin:${PATH}}} + {% if path -%} # Special case PATH ENV PATH {{ ':'.join(path) }}:${PATH}