Modify dockerfile template, so that any command can be executed (#29741)
This commit is contained in:
committed by
Massimiliano Culpo
parent
4f40c9aab9
commit
fbc2e59221
@@ -63,5 +63,6 @@ RUN {% if os_package_update %}{{ os_packages_final.update }} \
|
||||
{% for label, value in labels.items() %}
|
||||
LABEL "{{ label }}"="{{ value }}"
|
||||
{% endfor %}
|
||||
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l"]
|
||||
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c", "$*", "--" ]
|
||||
CMD [ "/bin/bash" ]
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user