Skip to content

Commit

Permalink
Fix kserve docker nightly build (#2778)
Browse files Browse the repository at this point in the history
* Fix docker nightly build

* test docker nightly build fix

* Revert "test docker nightly build fix"

This reverts commit e5033b8.
  • Loading branch information
namannandan authored Nov 9, 2023
1 parent 4192749 commit 2432ffb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/kserve/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ RUN pip install -r requirements.txt
COPY dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh
RUN chmod +x /usr/local/bin/dockerd-entrypoint.sh
COPY kserve_wrapper kserve_wrapper
COPY third_party third_party

COPY ./*.proto ./kserve_wrapper/

RUN python -m grpc_tools.protoc \
-I third_party/google/rpc \
--proto_path=./kserve_wrapper \
--python_out=./kserve_wrapper \
--grpc_python_out=./kserve_wrapper \
Expand Down
1 change: 1 addition & 0 deletions kubernetes/kserve/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ then
fi

cp ../../frontend/server/src/main/resources/proto/*.proto .
cp -r ../../third_party .

DOCKER_BUILDKIT=1 docker build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE -t "$DOCKER_TAG" .

0 comments on commit 2432ffb

Please sign in to comment.