Skip to content

Commit d37337f

Browse files
authored
Merge pull request #86 from spolti/sync
Sync 'Kserve/main' into 'ODH/main'
2 parents fc6721c + de53e7e commit d37337f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ USER root
2525
ENV HOME=/root
2626

2727
# Install build and dev tools
28-
# NOTE: Require python38 to install pre-commit
28+
# NOTE: Require python311 to install pre-commit
2929
RUN --mount=type=cache,target=/root/.cache/dnf:rw \
3030
dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
3131
nodejs \
32-
python38 \
32+
python3.11 \
33+
python3.11-pip \
3334
&& ln -sf /usr/bin/python3 /usr/bin/python \
3435
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
3536
&& true
@@ -158,8 +159,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
158159
microdnf install --setopt=cachedir=/root/.cache/microdnf --setopt=ubi-8-appstream-rpms.module_hotfixes=1 \
159160
gcc \
160161
gcc-c++ \
161-
python38-devel \
162-
python38 \
162+
python3.11-devel \
163+
python3.11 \
164+
python3.11-pip \
163165
&& ln -sf /usr/bin/python3 /usr/bin/python \
164166
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
165167
&& true

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
# make builder configurable, default to docker.
1616
ENGINE ?= docker
1717

18-
# make builder configurable, default to docker.
19-
ENGINE ?= docker
20-
2118
# collect args from `make run` so that they don't run twice
2219
ifeq (run,$(firstword $(MAKECMDGOALS)))
2320
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
@@ -33,7 +30,7 @@ all: build
3330
.PHONY: build
3431
## Build runtime container image
3532
build:
36-
ENGINE=${ENGINE} && ./scripts/build_docker.sh --target builder --target runtime
33+
ENGINE=${ENGINE} && ./scripts/build_docker.sh --target runtime
3734

3835
.PHONY: build.develop
3936
## Build developer container image

model-mesh-triton-adapter/scripts/tf_pb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
1415
import os
1516
import sys
1617
import time

0 commit comments

Comments
 (0)