Skip to content

Commit

Permalink
updated Dockerfile to 18.04 using python 3.6.9 to match Jetson
Browse files Browse the repository at this point in the history
  • Loading branch information
BogGyver committed Apr 27, 2020
1 parent 24e3d77 commit e888599
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile.openpilot
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:16.04
#BB used to be 16.04 but we want to match Jetson with 18.04
FROM ubuntu:18.04
ENV PYTHONUNBUFFERED 1

RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -47,8 +48,9 @@ ENV LC_ALL en_US.UTF-8
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
#BB used to be 3.7.3 but we want to match what's on the Jetson used to generate files
RUN pyenv install 3.6.9
RUN pyenv global 3.6.9
RUN pyenv rehash

RUN pip install pipenv==2018.11.26
Expand Down

0 comments on commit e888599

Please sign in to comment.