Closed Hang-shao closed 3 years ago
choose docker to intsall have this error:
Do you have this
ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ apt-get -y install gcc mono-mcs && \ rm -rf /var/lib/apt/lists/*
thank you, I have a try it.发自我的荣耀手机-------- 原始邮件 --------发件人: umerov-javokhir @.>日期: 2021年6月17日周四 02:18收件人: google/fully-homomorphic-encryption @.>抄送: Pamhub @.>, Author @.>主 题: Re: [google/fully-homomorphic-encryption] install error (#4)
choose docker to intsall
have this error:
Do you have this
...
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update &&
apt-get -y install gcc mono-mcs &&
rm -rf /var/lib/apt/lists/*
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
same error as all
choose docker to intsall have this error:
Do you have this
...
ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get -y install gcc mono-mcs && rm -rf /var/lib/apt/lists/*
Your method doesn't work.
Thanks for reaching out! This might be related to an open issue on Bazelisk. Could you try adding a line with ENV BAZELISK_BASE_URL="https://github.com/bazelbuild/bazel/releases/download"
in the Dockerfile
before any bazelisk
commands are used?
Thanks for reaching out! This might be related to an open issue on Bazelisk. Could you try adding a line with
ENV BAZELISK_BASE_URL="https://github.com/bazelbuild/bazel/releases/download"
in theDockerfile
before anybazelisk
commands are used?
Thank you, this problem is OK. But it appears a new problem, I am looking for method to solve it.
Sounds like a temporary failure on your network. Could you try again?
For me, installation of this packages with docker container helped
RUN apk update && apk add python3-dev \ gcc \ libc-dev
I have a question about the order(bazel run //transpiler/examples/hangman:hangman_client),the result can't display. Can you help me solve this question?
@Antonio-demo This seems to be unrelated to this issue and more related to #7. Could you run gcc --version
and g++ --version
?
@Hang-shao Did you give it another try to build the container? Does this workaround solve your problem?
Hello, for env bazelisk BASE URL=" https://github.com/bazelbuild/bazel/releases/download "Is this added to the front of the dockerfile file? A lot of attempts are still the original problems ![Uploading image.png…]()
hello,ubuntu20.14 i try env BAZELISK_BASE_URL="https://github.com/bazelbuild/bazel/releases/download" but it doesn`t work~ help~
Can you post the error message, @martiny98 @greenjava1?
thank you!
Thanks! Indeed, looks as if Bazelisk still tries to connect to GCS and fails. Could you replace your Dockerfile
with the following and try again?
FROM debian:bullseye
# Install required packages.
RUN apt-get update && apt-get install -y \
gcc \
git \
libtinfo5 \
python \
python3 \
python3-pip \
wget
# Install bazel
RUN wget -O bazel "https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-linux-x86_64" \
&& test "7bee349a626281fc8b8d04a7a0b0358492712377400ab12533aeb39c2eb2b901 bazel" = "$(sha256sum bazel)" \
&& chmod +x bazel \
&& mv bazel /bin/bazel
WORKDIR /usr/src/fhe/
COPY . .
# Build all targets.
RUN bazel build ...
谢谢!事实上,看起来 Bazelisk 仍然尝试连接到 GCS 并且失败了。你能用
Dockerfile
下面的替换你的然后再试一次吗?FROM debian:bullseye # Install required packages. RUN apt-get update && apt-get install -y \ gcc \ git \ libtinfo5 \ python \ python3 \ python3-pip \ wget # Install bazel RUN wget -O bazel "https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-linux-x86_64" \ && test "7bee349a626281fc8b8d04a7a0b0358492712377400ab12533aeb39c2eb2b901 bazel" = "$(sha256sum bazel)" \ && chmod +x bazel \ && mv bazel /bin/bazel WORKDIR /usr/src/fhe/ COPY . . # Build all targets. RUN bazel build ...
I've tried, and the following error has occurred:
@Hang-shao您是否再次尝试构建容器?此解决方法是否解决了您的问题?
After I rebuilt the container, I added: ENV BAZELISK_BASE_URL="https://github.com/bazelbuild/bazel/releases/download" But there was a mistake. As follows:
Thanks!
It looks like the workaround with the ENV variable does not work as Bazelisk still tries to connect to the GCS bucket that you cannot connect to. Looks like the workaround with installing bazel results in another error where you have only a temporary network issue and it is only a connection to GitHub where your connection timed out. Could you try this again?
choose docker to intsall have this error: