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

Replace cabal with stack #4

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

dkubb
Copy link

@dkubb dkubb commented Jul 29, 2015

This branch replaces cabal with stack.

EDIT: after more reflection on this, it's possible I took the stack replacement too far. However, I arranged the commits in this branch so that it would be possible to remove the second-to-last commit and still have some value in the cleanup of the existing Dockerfile.

[Fix #3]

* Chain related commands together to minimize temporary file creation
* Move cleanup to the end of the RUN command rather than intersperse it
  between build commands.
* Upgrade cabal-install to 1.22.6
* Removed packages that are not currently on stackage
@errge
Copy link
Member

errge commented Jan 4, 2016

Thanks for the tweet, and sorry for not looking into this.

I'll try to find some time to try these changes out and form an opinion on what to do.

In the meantime can you please elaborate on the GOAL of your changes? It can either be in the commit messages or here as discussion, but "Replace cabal with stack" is not very convincing if you don't give me any idea on WHY are we doing that. :)

As I see it, stack is great, but if it's possible to achieve everything with standard tools, then in an infrastructural project like this, I prefer the standard tools. This way I can keep docker image sizes to the minimal and also be more future proof. Am I mistaken somewhere?

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

Successfully merging this pull request may close these issues.

None yet

2 participants