Custom runtime builder: fix NoEmptyContinuation error (#6211)

This commit is contained in:
Boxuan Li
2025-01-11 15:58:08 -08:00
committed by GitHub
parent 1dd6f544bc
commit 516e2da520

View File

@@ -16,12 +16,12 @@ ENV POETRY_VIRTUALENVS_PATH=/openhands/poetry \
RUN apt-get update && \
apt-get install -y --no-install-recommends \
wget curl sudo apt-utils git jq tmux \
{% if 'ubuntu' in base_image and (base_image.endswith(':latest') or base_image.endswith(':24.04')) %}
{%- if 'ubuntu' in base_image and (base_image.endswith(':latest') or base_image.endswith(':24.04')) -%}
libgl1 \
{% else %}
{%- else %}
libgl1-mesa-glx \
{% endif %}
libasound2-plugins libatomic1 curl && \
{% endif -%}
libasound2-plugins libatomic1 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*