File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ COPY ./common/install_conda.sh install_conda.sh
4848COPY ./common/common_utils.sh common_utils.sh
4949RUN bash ./install_conda.sh && rm install_conda.sh common_utils.sh /opt/conda/requirements-ci.txt
5050
51+ # (optional) Install protobuf for ONNX
52+ ARG PROTOBUF
53+ COPY ./common/install_protobuf.sh install_protobuf.sh
54+ RUN if [ -n "${PROTOBUF}" ]; then bash ./install_protobuf.sh; fi
55+ RUN rm install_protobuf.sh
56+ ENV INSTALLED_PROTOBUF ${PROTOBUF}
57+
5158# (optional) Install vision packages like OpenCV
5259ARG VISION
5360COPY ./common/install_vision.sh ./common/cache_vision_models.sh ./common/common_utils.sh ./
@@ -81,6 +88,12 @@ ENV MAGMA_HOME /opt/rocm/magma
8188ENV LANG en_US.utf8
8289ENV LC_ALL en_US.utf8
8390
91+ # (optional) Install non-default CMake version
92+ ARG CMAKE_VERSION
93+ COPY ./common/install_cmake.sh install_cmake.sh
94+ RUN if [ -n "${CMAKE_VERSION}" ]; then bash ./install_cmake.sh; fi
95+ RUN rm install_cmake.sh
96+
8497# (optional) Install non-default Ninja version
8598ARG NINJA_VERSION
8699COPY ./common/install_ninja.sh install_ninja.sh
You can’t perform that action at this time.
0 commit comments