This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new ebd7cea Update to fix Heron UI Jinja2 issue (#3777)
ebd7cea is described below
commit ebd7ceaeb7cb4aeddf21e8a51a233d53e2afca0d
Author: Nicholas Nezis <[email protected]>
AuthorDate: Sat Feb 26 14:54:11 2022 -0500
Update to fix Heron UI Jinja2 issue (#3777)
---
docker/compile/Dockerfile.centos8 | 2 ++
docker/compile/Dockerfile.debian10 | 3 +++
docker/compile/Dockerfile.ubuntu18.04 | 5 +++++
docker/compile/Dockerfile.ubuntu20.04 | 3 +++
docker/compile/Dockerfile.ubuntu22.04 | 3 +++
heron/tools/ui/src/python/BUILD | 2 +-
6 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/docker/compile/Dockerfile.centos8
b/docker/compile/Dockerfile.centos8
index 02ced5c..c3e9e7d 100644
--- a/docker/compile/Dockerfile.centos8
+++ b/docker/compile/Dockerfile.centos8
@@ -20,6 +20,8 @@ FROM centos:centos8
# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux
+ENV LC_ALL en_US.utf8
+
RUN yum -y upgrade
RUN yum -y install \
ant \
diff --git a/docker/compile/Dockerfile.debian10
b/docker/compile/Dockerfile.debian10
index 9076ffd..d676cd5 100644
--- a/docker/compile/Dockerfile.debian10
+++ b/docker/compile/Dockerfile.debian10
@@ -20,6 +20,9 @@ FROM openjdk:11.0.6-jdk-buster
# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
+
RUN apt-get update && apt-get -y install \
ant \
automake \
diff --git a/docker/compile/Dockerfile.ubuntu18.04
b/docker/compile/Dockerfile.ubuntu18.04
index e574aee..32a3431 100644
--- a/docker/compile/Dockerfile.ubuntu18.04
+++ b/docker/compile/Dockerfile.ubuntu18.04
@@ -20,6 +20,11 @@ FROM ubuntu:18.04
# This is passed to the heron build command via the --config flag
ENV TARGET_PLATFORM linux
+ARG DEBIAN_FRONTEND=noninteractive
+
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
+
RUN apt-get update && apt-get -y install \
ant \
g++ \
diff --git a/docker/compile/Dockerfile.ubuntu20.04
b/docker/compile/Dockerfile.ubuntu20.04
index 4bdd63e..ac9c79d 100644
--- a/docker/compile/Dockerfile.ubuntu20.04
+++ b/docker/compile/Dockerfile.ubuntu20.04
@@ -22,6 +22,9 @@ ENV TARGET_PLATFORM linux
ARG DEBIAN_FRONTEND=noninteractive
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
+
RUN apt-get update && apt-get -y install \
ant \
g++ \
diff --git a/docker/compile/Dockerfile.ubuntu22.04
b/docker/compile/Dockerfile.ubuntu22.04
index e8bdb28..e411921 100644
--- a/docker/compile/Dockerfile.ubuntu22.04
+++ b/docker/compile/Dockerfile.ubuntu22.04
@@ -22,6 +22,9 @@ ENV TARGET_PLATFORM ubuntu
ARG DEBIAN_FRONTEND=noninteractive
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
+
RUN apt-get update && apt-get -y install \
ant \
g++ \
diff --git a/heron/tools/ui/src/python/BUILD b/heron/tools/ui/src/python/BUILD
index c0c31fe..7c4f261 100644
--- a/heron/tools/ui/src/python/BUILD
+++ b/heron/tools/ui/src/python/BUILD
@@ -10,7 +10,7 @@ pex_library(
"requests==2.27.1",
"click==7.1.2",
"fastapi==0.60.1",
- "jinja2==2.11.2",
+ "jinja2==3.0.3",
"aiofiles==0.5.0",
"uvicorn==0.11.7",
"uvloop==0.16.0",