File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/bentoml/_internal/container/frontend/dockerfile Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 107107 },
108108 "default_install_command" : "apt-get update && apt-get install -q -y --no-install-recommends "
109109 "--allow-remove-essential ca-certificates gnupg2 bash build-essential git" ,
110- "install_command" : "apt-get install -q -y {packages}" ,
110+ "install_command" : "apt-get install -q -y -o Dpkg::Options::=--force-confdef {packages}" ,
111111 },
112112 "alpine" : {
113113 "supported_python_versions" : SUPPORTED_PYTHON_VERSIONS ,
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ ENV DEBIAN_FRONTEND=noninteractive
99RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
1010{% call common .RUN (__enable_buildkit__ ) -%} {{ common.mount_cache(__lib_apt__) }} {{ common.mount_cache(__cache_apt__) }} {% endcall -%} set -eux && \
1111 apt-get update -y && \
12- apt-get install -q -y --no-install-recommends --allow-remove-essential \
12+ apt-get install -q -y -o Dpkg::Options::=--force-confdef - -no-install-recommends --allow-remove-essential \
1313 ca-certificates gnupg2 bash build-essential curl {% if __options__system_packages is not none %} {{ __options__system_packages | join(' ') }}{% endif %}
1414{% endblock %}
You can’t perform that action at this time.
0 commit comments