google / fully-homomorphic-encryption

An FHE compiler for C++
Apache License 2.0
3.5k stars 252 forks source link

Not able to run the docker command successfuly due to an issue with Bazel #35

Closed HritikaPK closed 1 year ago

HritikaPK commented 1 year ago

After running the "docker build -t google-fhe-transpiler -f docker/debian-bullseye.Dockerfile ." command in step 2, there is a failure in the build of Bazel,

image image

Kindly let me know how can I can proceed.

dibakch commented 1 year ago

Did you try to manually download the URL for openjdk? There seems to be an error with the returned number of bytes from Bazel. Could you try again?

There might also be some firewalling going on.

j2kun commented 1 year ago

+1 I would try manually downloading that URL from mirror.bazel.build.

HritikaPK commented 1 year ago

Hello,

Actually, I am pretty new to docker and I don't know how to manually download the URL for a docker machine. Do you mean to say I gotta add a command to the dockerfile source file? Could you guys guide me a little :").

j2kun commented 1 year ago

The hypothesis is that this is unrelated to docker and instead related to your network connection. Try copying the URL for the openjdk binary and passing it to wget or curl -o to see if you can download the file independently of bazel/docker. Look at the size of the resulting file to see if it matches the 202599005 bytes expected by bazel.