Skip to content

Commit 609363a

Browse files
authored
build: fix build failures
1 parent 07fade7 commit 609363a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY ./requirements.txt ./mxnet-1.9.1-py3-none-any.whl /app/
1717
RUN conda create --prefix $PYROOT python=3.7 -y \
1818
&& apt-get update \
1919
&& apt-get install -y git libgl1 libatlas-base-dev libopencv-dev build-essential libopenblas-dev unzip \
20-
&& conda init && conda activate $PYROOT && conda install -y -c conda-forge gcc=12 && conda deactivate \
20+
&& conda init && source ~/.bashrc && conda activate $PYROOT && conda install -y -c conda-forge gcc=12 && conda deactivate \
2121
&& wget https://static.rust-lang.org/rustup.sh -O - | sh -s -- -y && source "$HOME/.cargo/env" \
2222
&& wget -c https://github.com/lzhiyong/android-sdk-tools/releases/download/34.0.3/android-sdk-tools-static-aarch64.zip && unzip android-sdk-tools-static-aarch64.zip "platform-tools/*" -d /opt \
2323
&& $PYROOT/bin/pip install -U pip setuptools wheel \

0 commit comments

Comments
 (0)