Skip to content

Commit 5996256

Browse files
committed
Fix docker context
1 parent 17f9770 commit 5996256

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/ci_build/github/azure-pipelines/templates/c-api-linux-cpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
set -e -x
7575
mkdir -p $HOME/.onnx
7676
docker run -e SYSTEM_COLLECTIONURI --rm --volume /data/onnx:/data/onnx:ro --volume $(Build.SourcesDirectory):/onnxruntime_src --volume $(Build.BinariesDirectory):/build \
77+
-e NPM_CONFIG_USERCONFIG=/tmp/.npmrc --volume $(AGENT_TEMPDIRECTORY)/.npmrc:/tmp/.npmrc:ro \
7778
--volume $HOME/.onnx:/home/onnxruntimedev/.onnx -e NIGHTLY_BUILD onnxruntimecpubuildcentos8${{parameters.OnnxruntimeArch}}_packaging /bin/bash -c "python3 \
7879
/onnxruntime_src/tools/ci_build/build.py --enable_lto --build_java --build_nodejs --build_dir /build --config Release \
7980
--skip_submodule_sync --parallel --use_vcpkg --use_vcpkg_ms_internal_asset_cache --use_binskim_compliant_compile_flags --use_vcpkg --use_vcpkg_ms_internal_asset_cache --build_shared_lib ${{ parameters.AdditionalBuildFlags }} && cd /build/Release && make install DESTDIR=/build/installed"

0 commit comments

Comments
 (0)