diff --git a/docker/Dockerfile_pylot_Ubuntu16.04 b/docker/Dockerfile_pylot_Ubuntu16.04 index 07490e63d..443363644 100644 --- a/docker/Dockerfile_pylot_Ubuntu16.04 +++ b/docker/Dockerfile_pylot_Ubuntu16.04 @@ -39,10 +39,12 @@ WORKDIR /home/erdos/workspace/pylot/ # Cython is required by sci*, but its not a dependency in their setup.py. RUN pip3 install cython # Get the Pylot models and code dependencies. -RUN sudo apt-get install -y wget +RUN sudo apt-get install -y wget libpng16-dev python-opencv RUN cd /home/erdos/workspace/pylot/ && ./install.sh docker # Install all the Python dependencies. -RUN cd /home/erdos/workspace/pylot/ && pip3 install -e ./ +RUN cd /home/erdos/workspace/pylot/ && pip3 install -e ./ +# IPython 7.0 is required by Python 3.5. +RUN pip3 uninstall --yes ipython && pip3 install ipython==7.0 # Set this env value to run carla in headless CARLA ENV SDL_VIDEODRIVER offscreen diff --git a/docker/Dockerfile_pylot_Ubuntu18.04 b/docker/Dockerfile_pylot_Ubuntu18.04 index 2b8375e02..de6d84518 100644 --- a/docker/Dockerfile_pylot_Ubuntu18.04 +++ b/docker/Dockerfile_pylot_Ubuntu18.04 @@ -20,6 +20,11 @@ ENV SHELL /bin/bash WORKDIR /home/erdos SHELL ["/bin/bash", "-c"] +# Install tzdata without prompt. +RUN sudo apt-get -y update +ENV DEBIAN_FRONTEND=noninteractive +RUN sudo DEBIAN_FRONTEND=noninteractive sudo DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata + # Get the erdos directory. RUN sudo apt-get -y update RUN sudo apt-get -y install git curl clang python3 python3-pip