This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 53d944d013 fix: No virtual environment when running Docker translation
compiler (#32133)
53d944d013 is described below
commit 53d944d0130da23b4f0d02e35c4e204c813ce314
Author: Michael S. Molina <[email protected]>
AuthorDate: Tue Feb 4 10:43:25 2025 -0300
fix: No virtual environment when running Docker translation compiler
(#32133)
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index e3577c6731..aa83fc8f1c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -125,7 +125,7 @@ FROM python-base AS python-translation-compiler
# Install Python dependencies using docker/pip-install.sh
COPY requirements/translations.txt requirements/
RUN --mount=type=cache,target=/root/.cache/uv \
- /app/docker/pip-install.sh --requires-build-essential -r
requirements/translations.txt
+ . /app/.venv/bin/activate && /app/docker/pip-install.sh
--requires-build-essential -r requirements/translations.txt
COPY superset/translations/ /app/translations_mo/
RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \