diff --git a/repo2docker/buildpacks/base.py b/repo2docker/buildpacks/base.py index 1599ff8f..9691559f 100644 --- a/repo2docker/buildpacks/base.py +++ b/repo2docker/buildpacks/base.py @@ -109,7 +109,8 @@ USER ${NB_USER} # Make sure that postBuild scripts are marked executable before executing them {% if post_build_scripts -%} {% for s in post_build_scripts -%} -RUN chmod +x {{ s }} && ./{{ s }} +RUN chmod +x {{ s }} +RUN ./{{ s }} {% endfor %} {% endif -%}