Modify dockerfile template, so that any command can be executed (#29741)
This commit is contained in:
parent
768d3504dd
commit
58b144c0da
1 changed files with 2 additions and 1 deletions
|
@ -62,5 +62,6 @@ RUN {% if os_package_update %}{{ os_packages_final.update }} \
|
||||||
{% for label, value in labels.items() %}
|
{% for label, value in labels.items() %}
|
||||||
LABEL "{{ label }}"="{{ value }}"
|
LABEL "{{ label }}"="{{ value }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l"]
|
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c", "$*", "--" ]
|
||||||
|
CMD [ "/bin/bash" ]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue