Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development images improvement proposal #202

Open
rmoch opened this issue Feb 24, 2020 · 0 comments
Open

Development images improvement proposal #202

rmoch opened this issue Feb 24, 2020 · 0 comments

Comments

@rmoch
Copy link
Contributor

rmoch commented Feb 24, 2020

When developing in openedx-docker we use specifically built images.
Typical process when working on edx-platform, fun-apps or external library is to clone repository one want to work on on host filesystem, manually modify docker-compose to mount it in container, then log in container with bin/compose run --rm --service-ports lms-dev bash. Then install code, modify project settings and run Django dev server. All that ending in passing much time building images, and typing commands in a very poor container bash.

Here are some ideas to ease this process.

  • Add unix packages to container like git, text editor, network related commands...
  • Allow .bash_history persistence between container run
  • Ease the process of mounting repositories from host to container
  • install Mysql client and/or allow external connection to mysql server

The development on opendex-docker is also done by frequently changing flavors, which leads to many image builds. We could improve the situation by allowing images to be retrieved from Docker Hub instead of building them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant