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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Build images on Mac OSX (with solution) #38

Open
alexeyegorov opened this issue Nov 10, 2020 · 3 comments
Open

[FEATURE] Build images on Mac OSX (with solution) #38

alexeyegorov opened this issue Nov 10, 2020 · 3 comments
Assignees

Comments

@alexeyegorov
Copy link

Building on Mac OSX

Description

I have tried to build your images on Mac OSX which failed as awaited, BUT it is pretty easy to solve and I was able to build everything locally. 馃憤

The problem with the original shell script and Mac OSX is that Apple has BSD grep preinstalled in contrast to GNU grep. On Mac OSX one can simply install GNU grep with Homebrew:

brew install grep

Afterwards, one can set grep to the PATH variable, while this might change some system behaviour. I have changed locally all grep calls in the script with ggrep and it all worked. This might be possible to be interchangeable by setting the command as variable (e.g. in build.yml?). Then the build script should work on Linux and Mac OSX.

@andre-marcos-perez
Copy link
Collaborator

Hi @alexeyegorov, the solution proposed on #42 looks pretty simple indeed! I am figuring out how to test on my Linux machine and I will let you know. Any ideas?

@alexeyegorov
Copy link
Author

Thanks for your reply. :)
I can't help you with that. I can only admit that it works for me on my MacBook Pro 2019. Unfortunately, I don't know how you could test it on Linux. I can run Linux on MacOS, but I don't think it is possible the other way around. I record my screen and share it with you to prove that it is working. ;)

@alexeyegorov
Copy link
Author

An idea that came into my mind: is it possible to install BSD version of grep on Linux? This was at least one of the things that wasn't working on Mac as it has BSD version preinstalled.

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

No branches or pull requests

2 participants