emosenkis / esp-rs

Script for installing/running toolchain for building ESP8266 firmware in Rust
MIT License
329 stars 19 forks source link

add working Dockerfile #17

Closed antonok-edm closed 6 years ago

antonok-edm commented 6 years ago

I created a Dockerfile for this project. I haven't personally set up any CI pipelines before, but this should help towards #13.

This Docker image just installs esp-rs using ./build.sh --install. It can't run any tests yet (because there are none), but it's a good way to keep track of dependencies and ensure that the project at least builds successfully.

Of note - I had to install rustup manually outside of build.sh because it's impossible to use an interactive prompt in a Docker build process, and I couldn't pass the -y flag to the rustup otherwise.

emosenkis commented 6 years ago

Thanks! Sorry for the delay.