-
Notifications
You must be signed in to change notification settings - Fork 62
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac ARM64 support in Docker images #706
Comments
Even though the release notes and Docs say otherwise, the binaries are missing in the repository: |
Hi and thank you for your feedback. As mentioned in the compatibility page, |
What is the expectation when building multi-architecture containers with Docker? Impossible by design? |
Hi @NiklasBr , Thanks for providing feedback about your usage case. There's an example using the tarball in a dockerfile which would work on both x64 and arm64: https://docs.newrelic.com/docs/apm/agents/php-agent/advanced-installation/docker-other-container-environments-install-php-agent/#dockerfile-example |
@zsistla I am unable to expand the accordion with the Dockerfile example in your link, the Firefox console gives the following error message: Uncaught SyntaxError: '' literal not terminated before end of script app-4198df041846dc9f45e0.js:2:3931723 Update: I could manually inspect the source code and extract the contents. Is there a way to get the latest version every request rather than hardcoding the point release? Like for example using the URL https://imagemagick.org/archive/binaries/magick will download the latest version to build without the need to constantly check the site for udpates. Or like Composer does which allows either or. |
Hi, apologies for that inconvenience. It seems you were able to extract the directions, but below are the details from the page:
At the moment, to get the latest build without having to check/update the number requires something like:
|
Looked promising but could not get it to work:
|
HI @NiklasBr , Probably missing some backslash in there. The following works to get the AGENT_VERSION:
The following works to get the file:
|
This is the complete recipe I used in case somebody is interested:
|
By the way, we got badly bit by #399 when switching from the package-based installation to the tarball. We used to rely on the We had to do this post installation to read from the mods-available config file, assuming you copied the file there:
Side note, as it stands in the official configuration ( |
Thanks for your working recipe @AdrienPoupa! |
To mitigate this I suggest following modification to the working recipe shared here:
This will cause the agent's configuration to use values for |
Description
Attempting to install using a simple Docker image results in this error when building on ARM64 platforms even though the change log appears to say that support has been introduced:
Steps to Reproduce
Dockerfile:
Expected Behavior
Completed installation.
Relevant Logs / Console output
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: