Skip to content

Commit

Permalink
Carla pip dependency and fix for git init (#24258)
Browse files Browse the repository at this point in the history
* Add carla pip dependency for dev

* Revert other packages in pipfile

* Remove redundant carla install in docker

* Fix CI
Remove broken openpilot_build

* New run command
  • Loading branch information
gijskoning authored Apr 20, 2022
1 parent 6de434f commit e95a250
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.openpilot_base
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ RUN cd /tmp && \
rm -rf /tmp/* && \
rm -rf /root/.cache && \
pip uninstall -y pipenv && \

# remove unused architectures from gcc for panda
cd /usr/lib/gcc/arm-none-eabi/9.2.1 && \
rm -rf arm/ && \
rm -rf thumb/nofp thumb/v6* thumb/v8* thumb/v7+fp thumb/v7-r+fp.sp
RUN sudo git config --global --add safe.directory /tmp/openpilot

1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ breathe = "*"
subprocess32 = "*"
tenacity = "*"
mpld3 = "*"
carla = "==0.9.12"

[packages]
atomicwrites = "*"
Expand Down
15 changes: 14 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tools/openpilot_build.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/sim/Dockerfile.sim
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ ENV QTWEBENGINE_DISABLE_SANDBOX 1

RUN dbus-uuidgen > /etc/machine-id

# Install CARLA python api
RUN pip install --upgrade pip && \
pip install --no-cache-dir carla==0.9.12

# get same tmux config used on NEOS for debugging
RUN cd $HOME && \
curl -O https://raw.githubusercontent.com/commaai/eon-neos-builder/master/devices/eon/home/.tmux.conf
Expand Down

0 comments on commit e95a250

Please sign in to comment.