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

error in the step of "RUN imageio_download_bin freeimage",when docker building the dockerfile #107

Closed
hitWXF opened this issue Nov 2, 2023 · 5 comments

Comments

@hitWXF
Copy link

hitWXF commented Nov 2, 2023

2023-11-02 16-56-39屏幕截图
"OSError: Unable to download 'libfreeimage-3.16.0-linux64.so'. Perhaps there is no internet connection? If there is, please report this problem."

@wenbowen123
Copy link
Collaborator

Does your computer have internet connection? If you run imageio_download_bin in terminal without docker, does it work?

@hitWXF
Copy link
Author

hitWXF commented Nov 3, 2023

Does your computer have internet connection? If you run imageio_download_bin in terminal without docker, does it work?

In the terninal without docker, I can run "imageio_download_bin". it will download the dynamic library file of 'libfreeimage-3.16.0-linux64.so', and save it to the local folder(/home/.imagio/freeimage). However, when i 'docker build' the dockerfile, error occurred. My computer has network restrictions. So i downloaded the 'libfreeimage-3.16.0-linux64.so' offline. But i do not know where i should save in docker with the command "COPY"

@wenbowen123
Copy link
Collaborator

can you build docker image on a computer with normal network, then transfer the docker image to your current machine?

@loubron23
Copy link

Does your computer have internet connection? If you run imageio_download_bin in terminal without docker, does it work?

In the terninal without docker, I can run "imageio_download_bin". it will download the dynamic library file of 'libfreeimage-3.16.0-linux64.so', and save it to the local folder(/home/.imagio/freeimage). However, when i 'docker build' the dockerfile, error occurred. My computer has network restrictions. So i downloaded the 'libfreeimage-3.16.0-linux64.so' offline. But i do not know where i should save in docker with the command "COPY"
@hitWXF Hello,I have the sanme problem, could you please tell me how you solved it at last?

@hitWXF
Copy link
Author

hitWXF commented Dec 22, 2023

Does your computer have internet connection? If you run imageio_download_bin in terminal without docker, does it work?

In the terninal without docker, I can run "imageio_download_bin". it will download the dynamic library file of 'libfreeimage-3.16.0-linux64.so', and save it to the local folder(/home/.imagio/freeimage). However, when i 'docker build' the dockerfile, error occurred. My computer has network restrictions. So i downloaded the 'libfreeimage-3.16.0-linux64.so' offline. But i do not know where i should save in docker with the command "COPY"
@hitWXF Hello,I have the sanme problem, could you please tell me how you solved it at last?

hello,you can download the 'libfreeimage-3.16.0-linux64.so' offline,and put it under the “libsource” folder, then, put the “libsource” folder under the "docker" folder.
You should replace the command "RUN imageio_download_bin freeiamge" with the command "COPY ./libsource/libfreeimage-3.16.0-linux64.so /.imageio/freeimage"
cgi-bin_mmwebwx-bin_webwxgetmsgimg_ MsgID=8005361435025219339 skey=@crypt_6d030eb2_3a6234c1159a6e5f5254bd975c54aed7 mmweb_appid=wx_webfilehelper

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

No branches or pull requests

3 participants