kopia lustrzana https://github.com/jupyterhub/repo2docker
Moved postBuild comment into the condition.
rodzic
9eb78c34ab
commit
234e0b62d3
|
@ -142,8 +142,8 @@ LABEL {{k}}="{{v}}"
|
||||||
# We always want containers to run as non-root
|
# We always want containers to run as non-root
|
||||||
USER ${NB_USER}
|
USER ${NB_USER}
|
||||||
|
|
||||||
# Make sure that postBuild scripts are marked executable before executing them
|
|
||||||
{% if post_build_scripts -%}
|
{% if post_build_scripts -%}
|
||||||
|
# Make sure that postBuild scripts are marked executable before executing them
|
||||||
{% for s in post_build_scripts -%}
|
{% for s in post_build_scripts -%}
|
||||||
RUN chmod +x {{ s }}
|
RUN chmod +x {{ s }}
|
||||||
RUN ./{{ s }}
|
RUN ./{{ s }}
|
||||||
|
|
Ładowanie…
Reference in New Issue