fix: remove vulnerable VSCode extensions in build_from_scratch path (#13399)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Ray Myers <ray.myers@gmail.com>
This commit is contained in:
aivong-openhands
2026-03-19 14:36:22 -05:00
committed by GitHub
parent 49a98885ab
commit 0137201903

View File

@@ -360,6 +360,14 @@ RUN chmod a+rwx /openhands/code/openhands/__init__.py && \
chown -R openhands:openhands /openhands/code
# ================================================================
# Install VSCode extensions for build_from_scratch
# (must be after setup_vscode_server and source file copy)
# ================================================================
{% if build_from_scratch %}
{{ install_vscode_extensions() }}
{% endif %}
# ================================================================
# END: Build from versioned image
# ================================================================