fix jinja / dockerfile syntax by removing newlines (#10476)

Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
This commit is contained in:
Zacharias Fisches 2025-08-18 19:50:41 -07:00 committed by GitHub
parent 634a7691a2
commit 36d31b74f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,9 +177,7 @@ RUN \
/openhands/micromamba/bin/micromamba run -n openhands poetry install --only main,runtime --no-interaction --no-root && \
# Update and install additional tools
# (There used to be an "apt-get update" here, hopefully we can skip it.)
{% if enable_browser %}
/openhands/micromamba/bin/micromamba run -n openhands poetry run playwright install --with-deps chromium && \
{% endif %}
{% if enable_browser %}/openhands/micromamba/bin/micromamba run -n openhands poetry run playwright install --with-deps chromium && \{% endif %}
# Set environment variables
/openhands/micromamba/bin/micromamba run -n openhands poetry run python -c "import sys; print('OH_INTERPRETER_PATH=' + sys.executable)" >> /etc/environment && \
# Set permissions