Skip to content

Use global rebar binary with fallback to local rebar binary#666

Open
jhg wants to merge 1 commit intoChicagoBoss:masterfrom
jhg:global-rebar-if-available
Open

Use global rebar binary with fallback to local rebar binary#666
jhg wants to merge 1 commit intoChicagoBoss:masterfrom
jhg:global-rebar-if-available

Conversation

@jhg
Copy link

@jhg jhg commented Jan 29, 2017

I'm developing a Docker base image with Erlang and Rebar installed and shared between all images that use it as base. The idea it's copy only the minimal files for the container to be small, then if Chicago Boss can use the global Rebar binary the Dockerfile don't need copy the rebar binary again.

Also it's useful for example for developers that use a rebar binary globally. I have it and really I don't need versioned rebar binary, it's a best practices not version binaries and third libraries or tools in git repository.

This changes allow to use a global binary of Rebar but still it can run local Rebar binary if not found the global binary.

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