DEV Community

Discussion on: Developing from Containers

Collapse
 
oivoodoo profile image
Alexandr K

it's really great to save your space by using alpine based images. usually the most popular images with databases and other tools could have -alpine in tag name. also it's good practice to rely on specific version for the image instead of using :latest for example.

in few months later when you decide to restore your development environment or setup the new laptop it could save our time.

Collapse
 
aghost7 profile image
Jonathan Boudreau

I've tried doing something similar and for development it really doesn't pan out well. You end up trying to build something and you'll be missing a dependency or won't have the needed build tool of installed.

Keep in mind, this isn't for production images, its for developing from containers with your editor and all. If you ask me the usual best practices don't apply, its too different of a use case.