From ea8b02eaed188b7ae4c034e83615d95f71e8873c Mon Sep 17 00:00:00 2001 From: Abolfazl Shahbazi Date: Tue, 17 Nov 2020 22:26:20 -0800 Subject: [PATCH] FIX-#2458: fix 'psutil' install Signed-off-by: Anatoly Myachev --- examples/docker/nyc-taxi.dockerfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/docker/nyc-taxi.dockerfile b/examples/docker/nyc-taxi.dockerfile index f10e749a1f7..a4703745a92 100644 --- a/examples/docker/nyc-taxi.dockerfile +++ b/examples/docker/nyc-taxi.dockerfile @@ -12,11 +12,16 @@ # governing permissions and limitations under the License. FROM ubuntu:18.04 + +ARG PYTHON_VERSION=3.7 ENV http_proxy ${http_proxy} ENV https_proxy ${https_proxy} -RUN apt-get update --yes \ - && apt-get install wget --yes && \ +RUN apt-get update --yes && \ + apt-get install --yes --no-install-recommends --fix-missing \ + gcc \ + python${PYTHON_VERSION}-dev \ + wget && \ rm -rf /var/lib/apt/lists/* ENV USER modin @@ -33,7 +38,7 @@ ENV CONDA_DIR ${HOME}/miniconda SHELL ["/bin/bash", "--login", "-c"] -RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda3.sh && \ +RUN wget --quiet --no-check-certificate https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda3.sh && \ bash /tmp/miniconda3.sh -b -p "${CONDA_DIR}" -f -u && \ "${CONDA_DIR}/bin/conda" init bash && \ rm -f /tmp/miniconda3.sh && \ @@ -45,7 +50,7 @@ RUN conda update -n base -c defaults conda -y && \ pip install --no-cache-dir modin[ray] && \ conda clean --all --yes -RUN wget https://modin-datasets.s3.amazonaws.com/trips_data.csv -O "${HOME}/trips_data.csv" +RUN wget --quiet --no-check-certificate https://modin-datasets.s3.amazonaws.com/trips_data.csv -O "${HOME}/trips_data.csv" COPY nyc-taxi.py "${HOME}/nyc-taxi.py"