Skip to content

Commit 5640be0

Browse files
authored
chore: Fix ubi9 offline builds (feast-dev#5307)
chore: Fix ubi9 offline source build Signed-off-by: Tommy Hughes <[email protected]>
1 parent 58d62a4 commit 5640be0

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

infra/scripts/offline-binary-release-build.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ cd ${PROJECT_ROOT_DIR}
99
rm -rf ./offline_build
1010
mkdir offline_build
1111

12-
# yarn builder
13-
docker build \
14-
--build-arg RELEASE=true \
15-
--tag yarn-builder \
16-
-f sdk/python/feast/infra/feature_servers/multicloud/offline/Dockerfile.builder.yarn \
17-
sdk/python/feast/infra/feature_servers/multicloud/offline
18-
1912
alias hermeto='docker run --rm -ti -v "$PWD:$PWD:Z" -w "$PWD" quay.io/konflux-ci/hermeto:0.24.0'
2013
hermeto fetch-deps \
2114
--output ${OFFLINE_BUILD_DIR}/hermeto-output \

sdk/python/feast/infra/feature_servers/multicloud/offline/Dockerfile.binary.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM yarn-builder:latest
1+
FROM registry.access.redhat.com/ubi9/python-311:1
22

33
COPY requirements.txt requirements.txt
44
RUN source /tmp/hermeto.env && \
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM registry.access.redhat.com/ubi9/python-311:1
2-
ARG RELEASE
32

43
USER 0
5-
RUN if [[ -z "$RELEASE" ]] ; then npm install -g yarn yalc && rm -rf .npm ; fi
4+
RUN npm install -g yarn yalc && rm -rf .npm
65
USER 1001

sdk/python/feast/infra/feature_servers/multicloud/offline/Dockerfile.builder.yum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM registry.access.redhat.com/ubi9/python-311:1
22
ARG RELEASE
33

44
USER 0
5-
RUN yum install -y ninja-build llvm-devel llvm-libs llvm-toolset ncurses-devel rust cargo
5+
RUN yum install -y ninja-build llvm-devel cmake llvm-toolset ncurses-devel rust cargo
66
RUN if [[ -z "$RELEASE" ]] ; then npm install -g yarn yalc && rm -rf .npm ; fi
77
USER 1001
88

0 commit comments

Comments
 (0)