This repository was archived by the owner on Jan 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1515 fail-fast : false
1616 steps :
1717 - name : Setup
18- run : conda activate ddpt
18+ run : . activate ddpt
1919 - name : Checkout ddptensor
2020 uses : actions/checkout@v2
2121 - name : Build dpptensor
Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ RUN export DEBIAN_FRONTEND=noninteractive \
99 && rm -rf /var/lib/apt/lists/*
1010
1111ENV MINICONDA=Miniconda3-latest-Linux-x86_64.sh
12+ COPY conda-env.yml /tmp/conda-env.yml
1213RUN wget -q --no-check-certificate https://repo.anaconda.com/miniconda/$MINICONDA \
1314 && chmod a+rwx $MINICONDA \
1415 && ./$MINICONDA -b \
1516 && rm ./$MINICONDA \
16- && /root/miniconda3/bin/conda update -n base -c defaults conda
17+ && /root/miniconda3/bin/conda update -y -n base -c defaults conda \
18+ && /root/miniconda3/bin/conda env create -n ddpt -f /tmp/conda-env.yml \
19+ && /root/miniconda3/bin/conda clean -y -a \
20+ && /root/miniconda3/bin/conda init bash
1721
1822ENV PATH=${PATH}:/root/miniconda3/bin
19-
20- SHELL ["/bin/bash" , "--login" , "-c" ]
21- ENTRYPOINT ["/bin/bash" , "--login" , "-c" ]
Original file line number Diff line number Diff line change 11IMAGE = amr-registry-pre.caas.intel.com/tpi/ddpt:latest
22
33all :
4+ cp ../conda-env.yml .
45 docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} --tag ${IMAGE} .
56 docker push ${IMAGE}
You can’t perform that action at this time.
0 commit comments