File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-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.1 .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,19 @@ 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 update
38+ 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
3839WORKDIR /
3940RUN tar cvf GPL_sources.tar.gz /sources
4041
4142# Deploy stage
42- FROM openvino/ubuntu20_runtime :${OPENVINO_VERSION}
43+ FROM openvino/ubuntu22_runtime :${OPENVINO_VERSION}
4344
4445ENV DEBIAN_FRONTEND noninteractive
4546USER root
4647COPY --from=builder /home/openvino/onnxruntime/build/Linux/Release/dist/*.whl ./
4748COPY --from=builder /GPL_sources.tar.gz ./
4849RUN python3 -m pip install ./*.whl && rm ./*.whl
49- RUN apt update; apt install -y unattended-upgrades && \
50- unattended-upgrade
5150ARG BUILD_UID=1001
5251ARG BUILD_USER=onnxruntimedev
5352RUN adduser --uid $BUILD_UID $BUILD_USER
You can’t perform that action at this time.
0 commit comments