mmdeploy icon indicating copy to clipboard operation
mmdeploy copied to clipboard

build docker image error from Dockerfile

Open zranguai opened this issue 3 years ago • 9 comments
trafficstars

I have tried many times, and failed to build from the Dockfile many times due to network reasons, etc. Can you provide the .tar.gz file or publish the compiled docker image to the docker hub

zranguai avatar Apr 28 '22 07:04 zranguai

Hi, we are working on the prebuilt package. You can find the status from PR #347.

As for the compiled docker image, I am afraid you might meet with the same network issues even though we put it on the docker hub.

lvhan028 avatar Apr 29 '22 02:04 lvhan028

almost the same problem. a docker image from the docker hub is a better solution. can you supply it?

GeneralJing avatar May 09 '22 02:05 GeneralJing

almost the same problem. a docker image from the docker hub is a better solution. can you supply it?

OK. We will work on it.

lvhan028 avatar May 09 '22 02:05 lvhan028

fast reply, thank you. here are the errors. E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libavutil56_4.2.4-1ubuntu0.1_amd64.deb Connection failed [IP: 185.125.190.36 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libavcodec58_4.2.4-1ubuntu0.1_amd64.deb Connection failed [IP: 185.125.190.36 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libs/libssh/libssh-gcrypt-4_0.9.3-2ubuntu2.2_amd64.deb Connection failed [IP: 91.189.91.38 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libswscale-dev_4.2.4-1ubuntu0.1_amd64.deb Connection failed [IP: 185.125.190.36 80] Almost always these files cannot be downloaded,even i use different computers.

GeneralJing avatar May 09 '22 03:05 GeneralJing

@GeneralJing @zranguai Have you guys tried to build docker image passing args USE_SRC_INSIDE=true? If it is turned on, aliyun source will be adopted.

lvhan028 avatar May 11 '22 03:05 lvhan028

yes, i let the USE_SRC_INSIDE=true. the files listed above can be downloaded. but when going to download mmdeploy, it stucked. I commented the last few steps, and when the docker image is built, I downloaded and installed the last step files manually and install by mapping inside the container.

GeneralJing avatar May 11 '22 03:05 GeneralJing

yes, i let the USE_SRC_INSIDE=true. the files listed above can be downloaded. but when going to download mmdeploy, it stucked. I commented the last few steps, and when the docker image is built, I downloaded and installed the last step files manually and install by mapping inside the container.

Well, that sounds an optional solution.

lvhan028 avatar May 11 '22 10:05 lvhan028

Sorry, folks. The built image is too large, over 14G. #683 We haven't figured out a good solution yet.

lvhan028 avatar Jul 21 '22 08:07 lvhan028

i think that size is normal. Users need is a correct env, the size is the second consideration.

GeneralJing avatar Jul 22 '22 03:07 GeneralJing