File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: MIT
44#--------------------------------------------------------------------------
55
6- ARG OPENVINO_VERSION=2024.0 .0
6+ ARG OPENVINO_VERSION=2024.2 .0
77
88
99# Build stage
10- FROM openvino/ubuntu20_runtime :${OPENVINO_VERSION} AS builder
10+ FROM openvino/ubuntu22_runtime :${OPENVINO_VERSION} AS builder
1111
1212ENV WORKDIR_PATH=/home/openvino
1313WORKDIR $WORKDIR_PATH
@@ -34,20 +34,18 @@ RUN cat /etc/apt/sources.list | sed 's/^# deb-src/deb-src/g' > ./temp; mv temp /
3434RUN apt update; apt install dpkg-dev
3535RUN mkdir /sources
3636WORKDIR /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
3838WORKDIR /
3939RUN tar cvf GPL_sources.tar.gz /sources
4040
4141# Deploy stage
42- FROM openvino/ubuntu20_runtime :${OPENVINO_VERSION}
42+ FROM openvino/ubuntu22_runtime :${OPENVINO_VERSION}
4343
4444ENV DEBIAN_FRONTEND noninteractive
4545USER root
4646COPY --from=builder /home/openvino/onnxruntime/build/Linux/Release/dist/*.whl ./
4747COPY --from=builder /GPL_sources.tar.gz ./
4848RUN python3 -m pip install ./*.whl && rm ./*.whl
49- RUN apt update; apt install -y unattended-upgrades && \
50- unattended-upgrade
5149ARG BUILD_UID=1001
5250ARG BUILD_USER=onnxruntimedev
5351RUN adduser --uid $BUILD_UID $BUILD_USER
You can’t perform that action at this time.
0 commit comments