dreamfactorysoftware / df-docker

Docker container for DreamFactory.
59 stars 56 forks source link

Improve Dockerfile #56

Open OlegLazaryev opened 5 years ago

OlegLazaryev commented 5 years ago

Together with @vadimt-spg discussed how to tune current version of Dockerfile. See our thoughts below.

As first step we can split current image into two. One is dreamfactory-base and will contain all the dependencies. This adds two benefits:

Another improvement could be to reuse installation script for Ubuntu (after it's ready) instead of manually installing the dependencies in Dockerfile. This brings much more consistency since we will have a single point of failure. Also any change in dependencies will happen in single file instead of modifying both Install Script and Dockerfile.

OlegLazaryev commented 5 years ago

@wjgilmore please let us know what you think.