LIAR-team / wombat

Robotics Autonomy Software Stack
0 stars 0 forks source link

refactor dev-environment utility #6

Closed alsora closed 2 years ago

alsora commented 2 years ago

Description

Update the run.sh and setup-docker.sh scripts.

Now the setup-docker.sh will try to install GPU support on ubuntu systems.

Moreover, the .devdocker directory is not anymore a symlink: only therun.sh script is symlinked while the Dockerfile is automatically generated. This allows developers to update their own version of the Dockerfile. Running again setup-docker.sh will only edit the fist line (the FROM .... command).

The run.sh script now checks if the Dockerfile is up to date with the expected version, identified by the utils/dev-environment/VERSION file.

Tests

I had to format my laptop and I tested all the scripts on this fresh system.

Checklist