We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a dockerfile that works on macOS intel chips, but not on macOS m1 arm64:
FROM public.ecr.aws/docker/library/alpine:latest MAINTAINER Amazon AWS RUN apk update && \ apk add \ cmake \ gcc \ gcompat \ gzip \ libc6-compat \ make \ py3-pip \ python3 \ tar \ unzip \ wget \ curl # Bring in the nlohmann json library RUN mkdir -p /data/build/nlohmann_json/include/nlohmann/ RUN wget -q https://github.com/nlohmann/json/releases/download/v3.9.1/json.hpp RUN mv json.hpp /data/build/nlohmann_json/include/nlohmann/json.hpp
I get the error:
2024-04-24 22:27:58,716:[prepare]:[INFO]:: #16 [12/14] RUN wget -q https://github.com/nlohmann/json/releases/download/v3.9.1/json.hpp 2024-04-24 22:27:58,716:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,717:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,718:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: unsupported relocation type 1026 2024-04-24 22:27:58,718:[prepare]:[INFO]:: #16 0.122 Error relocating /usr/lib/libidn2.so.0: __memcpy_chk: symbol not found
However when running these commands individually on shell, it succeeds:
docker pull public.ecr.aws/docker/library/alpine:3.17.7 docker run -it --name alpine_container public.ecr.aws/docker/library/alpine:3.17.7
System info:
➜ ~ uname Darwin ➜ ~ uname -m arm64 ➜ ~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a dockerfile that works on macOS intel chips, but not on macOS m1 arm64:
I get the error:
However when running these commands individually on shell, it succeeds:
System info:
The text was updated successfully, but these errors were encountered: