File tree 3 files changed +8
-8
lines changed
model-mesh-triton-adapter/scripts 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ USER root
25
25
ENV HOME=/root
26
26
27
27
# Install build and dev tools
28
- # NOTE: Require python38 to install pre-commit
28
+ # NOTE: Require python311 to install pre-commit
29
29
RUN --mount=type=cache,target=/root/.cache/dnf:rw \
30
30
dnf install --setopt=cachedir=/root/.cache/dnf -y --nodocs \
31
31
nodejs \
32
- python38 \
32
+ python3.11 \
33
+ python3.11-pip \
33
34
&& ln -sf /usr/bin/python3 /usr/bin/python \
34
35
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
35
36
&& true
@@ -158,8 +159,9 @@ RUN --mount=type=cache,target=/root/.cache/microdnf:rw \
158
159
microdnf install --setopt=cachedir=/root/.cache/microdnf --setopt=ubi-8-appstream-rpms.module_hotfixes=1 \
159
160
gcc \
160
161
gcc-c++ \
161
- python38-devel \
162
- python38 \
162
+ python3.11-devel \
163
+ python3.11 \
164
+ python3.11-pip \
163
165
&& ln -sf /usr/bin/python3 /usr/bin/python \
164
166
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
165
167
&& true
Original file line number Diff line number Diff line change 15
15
# make builder configurable, default to docker.
16
16
ENGINE ?= docker
17
17
18
- # make builder configurable, default to docker.
19
- ENGINE ?= docker
20
-
21
18
# collect args from `make run` so that they don't run twice
22
19
ifeq (run,$(firstword $(MAKECMDGOALS ) ) )
23
20
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS ) ) ,$(MAKECMDGOALS ) )
@@ -33,7 +30,7 @@ all: build
33
30
.PHONY : build
34
31
# # Build runtime container image
35
32
build :
36
- ENGINE=${ENGINE} && ./scripts/build_docker.sh --target builder --target runtime
33
+ ENGINE=${ENGINE} && ./scripts/build_docker.sh --target runtime
37
34
38
35
.PHONY : build.develop
39
36
# # Build developer container image
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
14
15
import os
15
16
import sys
16
17
import time
You can’t perform that action at this time.
0 commit comments