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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make test-tools-image fails libssl.so.1.1 not found #17302

Closed
2 of 3 tasks
csantanapr opened this issue Feb 24, 2024 · 0 comments · Fixed by #17303
Closed
2 of 3 tasks

make test-tools-image fails libssl.so.1.1 not found #17302

csantanapr opened this issue Feb 24, 2024 · 0 comments · Fixed by #17303
Labels
bug Something isn't working

Comments

@csantanapr
Copy link
Member

csantanapr commented Feb 24, 2024

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug
On Linux x86, the ssl and crypto libraries are not found makes Dockerfile invalid

Error of make test-tools-image

 => ERROR [stage-5 13/22] COPY --from=redis /usr/lib/linux-gnu/libssl.so.1.1 /usr/lib/linux-gnu/                                                                                                0.0s
 => ERROR [stage-5 14/22] COPY --from=redis /usr/lib/linux-gnu/libcrypto.so.1.1 /usr/lib/linux-gnu/                                                                                             0.0s
------
 > [stage-5 13/22] COPY --from=redis /usr/lib/linux-gnu/libssl.so.1.1 /usr/lib/linux-gnu/:
------
------
 > [stage-5 14/22] COPY --from=redis /usr/lib/linux-gnu/libcrypto.so.1.1 /usr/lib/linux-gnu/:
------
Dockerfile:76
--------------------
  74 |     # Ubuntu 22.04+ has moved to OpenSSL3 and no longer provides these libraries
  75 |     COPY --from=redis /usr/lib/linux-gnu/libssl.so.1.1 /usr/lib/linux-gnu/
  76 | >>> COPY --from=redis /usr/lib/linux-gnu/libcrypto.so.1.1 /usr/lib/linux-gnu/
  77 |     RUN mv /usr/lib/linux-gnu/libssl.so.1.1 /usr/lib/$(uname -m)-linux-gnu/ && \
  78 |         mv /usr/lib/linux-gnu/libcrypto.so.1.1 /usr/lib/$(uname -m)-linux-gnu/ && \
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 88ae80c0-48e5-41bc-977a-82409abf416e::n3gpmt95cvr37mn2tw492zjy8: "/usr/lib/linux-gnu/libcrypto.so.1.1": not found
make: *** [Makefile:252: test-tools-image] Error 1

To Reproduce
Run make test-tools-image on Linux x86

Expected behavior

Dockerfile should let you build an image for any Linux/MacOs on any CPU

@csantanapr csantanapr added the bug Something isn't working label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant