Skip to content

Commit 0390d8a

Browse files
authored
fix: Update the base image for feature-server. (#4576)
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
1 parent 9ac7f4e commit 0390d8a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
FROM python:3.11
2-
1+
FROM debian:11-slim
32
RUN apt update && \
43
apt install -y \
54
jq \
5+
python3 \
6+
python3-pip \
67
python3-dev \
78
build-essential
89

@@ -18,4 +19,4 @@ RUN apt update
1819
RUN apt -y install libarrow-dev
1920
# modify permissions to support running with a random uid
2021
RUN mkdir -m 775 /.cache
21-
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json
22+
RUN chmod g+w $(python3 -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM python:3.11
1+
FROM debian:11-slim
22

33
RUN apt update && \
44
apt install -y \
55
jq \
6+
python3 \
7+
python3-pip \
68
python3-dev \
79
build-essential
810

@@ -19,4 +21,4 @@ RUN apt update
1921
RUN apt -y install libarrow-dev
2022
# modify permissions to support running with a random uid
2123
RUN mkdir -m 775 /.cache
22-
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json
24+
RUN chmod g+w $(python3 -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

0 commit comments

Comments
 (0)