From 36d31b74f7c14a371c89a4d94593a82b9aa11c3b Mon Sep 17 00:00:00 2001 From: Zacharias Fisches Date: Mon, 18 Aug 2025 19:50:41 -0700 Subject: [PATCH] fix jinja / dockerfile syntax by removing newlines (#10476) Co-authored-by: Xingyao Wang --- openhands/runtime/utils/runtime_templates/Dockerfile.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openhands/runtime/utils/runtime_templates/Dockerfile.j2 b/openhands/runtime/utils/runtime_templates/Dockerfile.j2 index ecc99d792f..a9ed4658f5 100644 --- a/openhands/runtime/utils/runtime_templates/Dockerfile.j2 +++ b/openhands/runtime/utils/runtime_templates/Dockerfile.j2 @@ -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