File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,18 @@ ARG ONNXRUNTIME_VER=1.7.1
1010ARG ARCH=x64
1111
1212RUN apt-get -qq update
13- RUN apt-get -qq install -y curl wget tar git \
13+ RUN apt-get install -y software-properties-common
14+ RUN add-apt-repository ppa:deadsnakes/ppa
15+ RUN apt-get -qq update
16+
17+ RUN apt-get -qq install -y python3.6 curl wget tar git \
1418 build-essential cmake \
1519 libcurl4-openssl-dev libssl-dev libatlas-base-dev zlib1g-dev \
1620 python3 python3-pip python3-dev python3-numpy
21+
22+ RUN rm /usr/bin/python3
23+ RUN ln -s /usr/bin/python3.6 /usr/bin/python3
24+
1725RUN pip3 install --upgrade pip setuptools wheel
1826
1927ENV LANG=en_US.UTF-8
Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ ARG ARCH=x64-gpu
1010RUN apt-get -qq update
1111RUN apt-get install -y software-properties-common
1212RUN add-apt-repository ppa:deadsnakes/ppa
13+ RUN apt-get -qq update
1314
14- RUN apt-get install -y python3.6
15- RUN apt-get -qq install -y curl \
15+ RUN apt-get -qq install -y python3.6 curl \
1616 wget tar git build-essential \
1717 libcurl4-openssl-dev libssl-dev \
1818 libatlas-base-dev zlib1g-dev python3 python3-pip \
1919 python3-dev python3-numpy rsync
2020
21+ RUN rm /usr/bin/python3
22+ RUN ln -s /usr/bin/python3.6 /usr/bin/python3
23+
2124RUN pip3 install --upgrade pip setuptools wheel
2225
2326RUN wget -q https://github.com/Kitware/CMake/releases/download/v3.19.5/cmake-3.19.5-Linux-x86_64.tar.gz -O /tmp/cmake.tgz
You can’t perform that action at this time.
0 commit comments