Skip to content

Commit 4891f76

Browse files
authored
fix: Feature UI Server image won't start in an OpenShift cluster (#4250)
fix ui runtime Signed-off-by: Tommy Hughes <tohughes@redhat.com>
1 parent b5ef384 commit 4891f76

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

sdk/python/feast/infra/feature_servers/multicloud/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short |
1616
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1717
RUN apt update
1818
RUN apt -y install libarrow-dev
19-
RUN mkdir -m 775 /.cache
19+
# modify permissions to support running with a random uid
20+
RUN mkdir -m 775 /.cache
21+
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ RUN apt install -y -V ca-certificates lsb-release wget
1616
RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1717
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1818
RUN apt update
19-
RUN apt -y install libarrow-dev
19+
RUN apt -y install libarrow-dev
20+
# modify permissions to support running with a random uid
21+
RUN mkdir -m 775 /.cache
22+
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

0 commit comments

Comments
 (0)