iscumd / Ohm

Last year doesn't count
0 stars 5 forks source link

Modify the docker dev environment to allow for deployment on the NUC #17

Open andyblarblar opened 2 years ago

andyblarblar commented 2 years ago

As we are now planning on using the NUC for both ISC robots, we are going to use docker to avoid needing both enviorments installed at once. To do this, I'm going to retool the dev enviornment to work in production by passing the physical components through (serial, motor controller, gps ect.) using docker volumes. If we save any files between runs, that will also need to be in a volume.

After this is done, we should look into doing the same for Yeti, although I'll need some help figuring out what dependancies it has.

It may be worth moving my dev env repo to the ISC org when this is done.

andyblarblar commented 2 years ago

It's probobly best we make a seperate repo called 'isc_dockerfiles' or something that contains the production dockerfiles for both Ohm and Yeti, as well as a vcstool yaml file for each file that can just be COPY-ed into the script and then then cloned to download all of the repositories needed to run and build. This step could be cached aswell. My docker dev env files arn't as applicable to an actual production file as I thought, but are still a great refrence for how to install the system build dependancies.

andyblarblar commented 2 years ago

begun work in this repo. Currently yeti is being implimented, will begin work on Ohm when we have testing running.