Closed eliotsykes closed 4 years ago
I would love this PR to get merged.
Would love to see this in, too! Anything we can do to help get that in?
@joshwlewis is there anything I need to do to pass the pending heroku/compliance check?
@joshwlewis I'd like to upvote this PR. Thanks!
@eliotsykes Have you tried this patch in the building process of your Heroku app?
I am asking this question because I was working on a related problem these days and found out this PR. I don't think this patch would work. I think it will get the error message like this: /tmp/build_04cb8278/.apt/usr/bin/google-chrome: line 3: /app/.apt/opt/google/chrome/chrome: No such file or directory
Here's the reason:
$BIN_DIR/google-chrome
is an alias and it's content is
https://github.com/heroku/heroku-buildpack-google-chrome/blob/e85ed96d67c05d35fd1488948c16603b4e4b8717/bin/compile#L172-L186
The problem is things are not been moved/copied to $HOME
during building process.
Should use $BUILD_DIR/.apt/opt/google/$BIN --product-version
or $BUILD_DIR/.apt/opt/google/$BIN --version
Have you try this patch in the building process of your Heroku app?
@M157q I don't remember, probably not by the sounds of your investigations.
My guess is I threw this together quickly as a speculative PR with the intention of spending more time on it had the buildpack's maintainers shown interest in the idea.
So I'll close this for lack of interest. Maintainers feel free to re-open.
Useful when debugging issues related to installed version of Google Chrome, e.g. version mismatch with chromedriver.