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

Update dockerfile #1652

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dockerfile #1652

wants to merge 1 commit into from

Conversation

Maus-313
Copy link

@Maus-313 Maus-313 commented Jan 7, 2025

added /usr for three libs

before fixing this error ->
docker output:=>

ERROR [final 14/20] COPY --from=builder /lib/libz.so.1 /lib/                                    0.0s 
 => ERROR [final 15/20] COPY --from=builder /lib/libssl.so.3 /lib/                                  0.0s 
 => ERROR [final 16/20] COPY --from=builder /lib/libcrypto.so.3 /lib/                               0.0s 
------
 > [final 14/20] COPY --from=builder /lib/libz.so.1 /lib/:
------
------
 > [final 15/20] COPY --from=builder /lib/libssl.so.3 /lib/:
------
------
 > [final 16/20] COPY --from=builder /lib/libcrypto.so.3 /lib/:

which means the library is missing at the location we defined. So I get the official latest alpine image from the docker hub to find this file. Using the docker desktop I check the "Files" of this container. I found that these three files' positions have been changed from "/lib" to "/usr/lib".
image

added /usr for three libs
@cfsmp3
Copy link
Contributor

cfsmp3 commented Jan 7, 2025

Can you add to the description how this was tested? (copy-paste output of docker build for example).

@Maus-313
Copy link
Author

Maus-313 commented Jan 8, 2025

Sir, I have revised the description. Is it now sufficiently informative?

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.

2 participants