Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker image for aten cpu and lort cpu to manylinux2_28. #18045

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ jobs:

- template: templates/get-docker-image-steps.yml
parameters:
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_aten_cpu
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cpu
Context: tools/ci_build/github/linux/docker
DockerBuildArgs: "--build-arg BUILD_UID=$( id -u )"
DockerBuildArgs: "
--build-arg BUILD_ATEN=true
--build-arg BUILD_UID=$( id -u )
"
Repository: 'onnxruntimecpubuildaten'
UseImageCacheContainerRegistry: true
UsePipelineCache: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ jobs:

- template: templates/get-docker-image-steps.yml
parameters:
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_lort_cpu
Dockerfile: tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cpu
Context: tools/ci_build/github/linux/docker
DockerBuildArgs: "--build-arg BUILD_UID=$( id -u )"
DockerBuildArgs: "
--build-arg BUILD_LORT=true
--build-arg BUILD_UID=$( id -u )
"
Repository: onnxruntimecpubuildlort

- task: CmdLine@2
Expand Down

This file was deleted.

This file was deleted.

12 changes: 11 additions & 1 deletion tools/ci_build/github/linux/docker/Dockerfile.manylinux2_28_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ ARG PLATFORM=x86_64
ARG DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-12/root
ARG LD_LIBRARY_PATH_ARG=${DEVTOOLSET_ROOTPATH}/usr/lib64:${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib64/dyninst:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst:/usr/local/lib64
ARG PREPEND_PATH=/usr/lib/jvm/msopenjdk-11/bin:${DEVTOOLSET_ROOTPATH}/usr/bin:

ARG BUILD_LORT=false
ARG BUILD_ATEN=false
#Build manylinux2014 docker image begin
FROM $BASEIMAGE AS runtime_base
ARG BUILD_LORT
ARG BUILD_ATEN
ARG POLICY
ARG PLATFORM
ARG DEVTOOLSET_ROOTPATH
Expand Down Expand Up @@ -156,6 +159,13 @@ ENV JAVA_HOME=/usr/lib/jvm/msopenjdk-11

ADD scripts /tmp/scripts
RUN cd /tmp/scripts && /tmp/scripts/manylinux/install_centos.sh
RUN if [ "$BUILD_LORT" = true ];\
then cd /tmp/scripts && /tmp/scripts/manylinux/install_deps_lort.sh ; \
elif [ "$BUILD_ATEN" = true ];\
then cd /tmp/scripts && /tmp/scripts/manylinux/install_deps_aten.sh ; \
else \
cd /tmp/scripts && /tmp/scripts/manylinux/install_deps.sh ; \
fi
RUN cd /tmp/scripts && /tmp/scripts/manylinux/install_deps.sh && rm -rf /tmp/scripts

ARG BUILD_UID=1001
Expand Down
Loading