Improve Dockerfile and Build Process / Development Process.

Words
184
Reading
1 min
Listen
Play
9y

Components

  • Dockerfile build/development setup.

Proposal

  • Improve Dockerfile to a multistep, bundled install that will allow for a minimal disk usage (if running multiple nodes, that could save bandwidth)
  • Introduces automated build scripts with travis-ci.org for automatically generating the images, so end users that wanna play around would just run from official image (that is now lightweight from the previous step).
  • Introduces a docker-compose.yml file that will provide a fully customizable development environment without requiring Node.JS or another tooling, except Docker itself.
  • Updates documentation on readme to reflect this changes and make starting up and contributing as easy as possible.

Mockups / Examples

I'm volunteering to implement all steps on this suggestion.

Benefits

  • Reduce development environment requirements, since all except Docker is now built on the stack.
  • Offer a simple way of running the service locally just by an official Docker image.
  • Removes step 3 warning into tweaking Webpack configuration while contributing since docker-compose.yml will be in charge or environment variables.
  • Makes both Docker images and local development setup aware of this project's environment variables.



Posted on Utopian.io - Rewarding Open Source Contributors

Improve Dockerfile and Build Process / Development Process. | Ecency