Skip to content

Dockerfile improvements#2

Open
djmaze wants to merge 4 commits intobprodoehl:masterfrom
djmaze:dockerfile-improvements
Open

Dockerfile improvements#2
djmaze wants to merge 4 commits intobprodoehl:masterfrom
djmaze:dockerfile-improvements

Conversation

@djmaze
Copy link

@djmaze djmaze commented Aug 23, 2015

I fixed the Docker build and changed the Dockerfile so it uses the code from current checkout instead of cloning the current master branch from Github. Also, as I do not see any advantage in compiling the project during run, the project is already compiled during the image build.

This makes it easy to set up automated builds on the Docker registry hub. You can even set up builds for different branches easily using this technique. @bprodoehl, it would be useful if you could set up such an automated build for this fork so others can easily get the latest binary (and your upcoming 2.1 work?).

In the long run, it would probably make sense for PhantomJS to use Docker and do static Docker builds for their regular releases. This is one of the use cases where Docker really shines.

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.

1 participant