Skip to content

Ensure that custom openssl is where rpath is configured on all arches #655

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

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

yosifkit
Copy link
Member

Some architectures don't create a /usr/local/lib64 so they fail to COPY. Let's simplify by using the same place for all of them (since there isn't any multi-lib within one image).

Updating the fix from #366

@yosifkit
Copy link
Member Author

yosifkit commented Jun 28, 2023

$ docker build --platform=linux/arm64/v8 3.12/alpine/ rabbitmq:3.12-test
...
Successfully built f3d7e8589338
Successfully tagged rabbitmq:3.12-test

$ docker build --platform=linux/arm/v7 3.12/alpine/ -t rabbitmq:3.12-test
...
Successfully built 9714dd30fdf5
Successfully tagged rabbitmq:3.12-test

Previous failure:

#14 [stage-3  5/11] COPY --from=erlang-builder /usr/local/lib64/ /usr/local/lib64/
#14 ERROR: "/usr/local/lib64" not found: not found

Copy link
Collaborator

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tianon tianon merged commit 3992197 into docker-library:master Jun 29, 2023
@tianon tianon deleted the rpath-fixes branch June 29, 2023 20:21
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jun 29, 2023
Changes:

- docker-library/rabbitmq@0e653fb: Update 3.9 to otp 25.3.2.3
- docker-library/rabbitmq@faaae42: Update 3.12 to otp 25.3.2.3
- docker-library/rabbitmq@3992197: Merge pull request docker-library/rabbitmq#655 from infosiftr/rpath-fixes
- docker-library/rabbitmq@a3aac33: Update 3.11 to otp 25.3.2.3
- docker-library/rabbitmq@8e703bc: Update 3.10 to otp 25.3.2.3
- docker-library/rabbitmq@87380c1: Ensure that custom openssl is where rpath is configured on all arches
- docker-library/rabbitmq@98c8f74: Merge pull request docker-library/rabbitmq#648 from infosiftr/jit-arm64
- docker-library/rabbitmq@188a5d8: Update 3.12 to 3.12.1
- docker-library/rabbitmq@79cf580: Update 3.11 to 3.11.19
- docker-library/rabbitmq@875d1e0: Add Erlang JIT on arm64
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

Successfully merging this pull request may close these issues.

3 participants