Skip to content

Commit 93e3fa8

Browse files
committed
Add arrow C++ library to example Dockerfile
Signed-off-by: Felix Wang <[email protected]>
1 parent d5c544a commit 93e3fa8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

infra/charts/feast-feature-server/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,28 @@ RUN pip install pip --upgrade
5555
5656
RUN pip install feast
5757
58+
COPY feature_store.yaml /feature_store.yaml
59+
```
60+
61+
Furthermore, if you wish to use the Go feature server, then you must install the Apache Arrow C++ libraries, and your `feature_store.yaml` should include `go_feature_server: True`.
62+
For more details, see the [docs](https://docs.feast.dev/reference/feature-servers/go-feature-server).
63+
The docker image might look like:
64+
```
65+
FROM python:3.8
66+
67+
RUN apt update && \
68+
apt install -y jq
69+
70+
RUN pip install pip --upgrade
71+
72+
RUN pip install feast
73+
74+
RUN apt update
75+
RUN apt install -y -V ca-certificates lsb-release wget
76+
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
77+
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
78+
RUN apt update
79+
RUN apt -y install libarrow-dev
80+
5881
COPY feature_store.yaml /feature_store.yaml
5982
```

0 commit comments

Comments
 (0)