Improve Dockerfile and Build Process / Development Process.

in utopian-io •  7 years ago  (edited)

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hey @hernandev I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Viu que legal! Sucesso!

Thank you for the contribution. It has been approved.

Yes Docker-compose.yml can be used for CI. Give it a try to implement it.

You can contact us on Discord.
[utopian-moderator]

Thank you very much, I'll be submitting the pull request in the following couple days.

@hernandev, Upvote is the only thing I can support you.

Thanks!