-
Notifications
You must be signed in to change notification settings - Fork 443
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
Docker Refactoring - Parent Issue #453
Comments
Nice summary! |
Do you have time for hangout/skype call? It would be awesome if we could tackle |
Call SummaryWe will take a hybrid approach like sbt/sbt-rjs and provide the Important points are
ImplementationI don't have much time for the next, as well as @huntc . @fiadliel do you have any suggestions/additions? |
* master: Update README.md Replace chmod call More comprehensive tests Adding documentation FIX sbt#276 creating directories as necessary and specify top level dir and sadly realizing that apache commons compress is still the best bet Adding documentation, examples and tests. Initial refactoring on sbt#453 Revert "[fix sbt#472] /etc/default/<package-name> should be shell script setting envars" FIX sbt#489: Small fix in documentation Upgrading to java 7 and using posix nio API Conflicts: src/main/scala/com/typesafe/sbt/packager/jdkpackager/JDKPackagerHelper.scala
This parent issue summarizes the docker feature requests and improvement suggestions:
In order to get a better user experience, we should refactor the
DockerPlugin
in a way we meet all these requirements.
@fiadliel first intention when building the plugin was to be as restrictive as possible and
build a working "out-of-the-box" solution. I still think this is a good idea and keep the
working "out-of-the-box" policy, when refactoring.
Goals
State of the Art
At this point every configuration for the dockerfile is represented by
a custom setting:
Possible Solutions
There are two obvious solutions that could be implemented
Setting per Command
Continue the current implementation and provide a setting for each
docker command.
List of Docker Commands
A
Dockerfile
is a simple list of commands (CmdLike
). We could exposea setting
TaskKey[Seq[CmdLike]]
that gets filled by default. Users can remove,add, replace commands as they like.
The text was updated successfully, but these errors were encountered: