Commit 00f45d6 1 parent 0f3ea0e commit 00f45d6 Copy full SHA for 00f45d6
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: MIT
4
4
#--------------------------------------------------------------------------
5
5
6
- ARG OPENVINO_VERSION=2024.0 .0
6
+ ARG OPENVINO_VERSION=2024.2 .0
7
7
8
8
9
9
# Build stage
10
- FROM openvino/ubuntu20_runtime :${OPENVINO_VERSION} AS builder
10
+ FROM openvino/ubuntu22_runtime :${OPENVINO_VERSION} AS builder
11
11
12
12
ENV WORKDIR_PATH=/home/openvino
13
13
WORKDIR $WORKDIR_PATH
@@ -34,20 +34,18 @@ RUN cat /etc/apt/sources.list | sed 's/^# deb-src/deb-src/g' > ./temp; mv temp /
34
34
RUN apt update; apt install dpkg-dev
35
35
RUN mkdir /sources
36
36
WORKDIR /sources
37
- RUN apt-get source cron iso-codes lsb-release powermgmt-base python-apt-common python3-apt python3-dbus python3-gi unattended-upgrades libapt-pkg6.0 libhogweed5 libnettle7
37
+ RUN apt-get source cron iso-codes lsb-release powermgmt-base python-apt-common python3-apt python3-dbus python3-gi libapt-pkg6.0 libhogweed6 libnettle8
38
38
WORKDIR /
39
39
RUN tar cvf GPL_sources.tar.gz /sources
40
40
41
41
# Deploy stage
42
- FROM openvino/ubuntu20_runtime :${OPENVINO_VERSION}
42
+ FROM openvino/ubuntu22_runtime :${OPENVINO_VERSION}
43
43
44
44
ENV DEBIAN_FRONTEND noninteractive
45
45
USER root
46
46
COPY --from=builder /home/openvino/onnxruntime/build/Linux/Release/dist/*.whl ./
47
47
COPY --from=builder /GPL_sources.tar.gz ./
48
48
RUN python3 -m pip install ./*.whl && rm ./*.whl
49
- RUN apt update; apt install -y unattended-upgrades && \
50
- unattended-upgrade
51
49
ARG BUILD_UID=1001
52
50
ARG BUILD_USER=onnxruntimedev
53
51
RUN adduser --uid $BUILD_UID $BUILD_USER
You can’t perform that action at this time.
0 commit comments