Jump to content
cl-

Path to docker executable in your build environment

Recommended Posts

Hi!

 

Would it be possible to make the path to the docker executable editable for your docker based build environment?

 

At the moment, the command in your makefile configuration files (inside the bricklib2/cmake folder) include the static path, that is /usr/bin/docker. On a mac, for instance, docker doesn't install into /usr/bin though.

 

It would be possible for me to change all these occurrences, that's not the question. However, I don't want to change that many files, given that I don't want conflicts in the cloned git repository.

 

 

Cheers,

Claudio

Share this post


Link to post
Share on other sites

I just replaced "/usr/bin/docker" with "docker" for now (we were using "docker" at other places in the Makefile anyway).

 

If the docker binary is not somewhere in $PATH you can always call make with PATH=$PATH:/your/path to make it work.

Share this post


Link to post
Share on other sites

Thanks! I've seen the changes in bricklib2.

There are also two files in /bricklib/toolchains with the absolute path to docker.

 

Cheers!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...