split post build script command in Docker file

`RUN chmod +x postBuild && ./postBuild` causes `./postBuild: Text file busy` error with Docker version 1.13.1
pull/294/head
bitnik 2018-04-09 11:27:09 +02:00 zatwierdzone przez GitHub
rodzic 00b40edeb4
commit 20f9c7d7cc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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 -%}