AgentBench icon indicating copy to clipboard operation
AgentBench copied to clipboard

[Bug/Assistance] Docker build failed

Open YerongLi opened this issue 1 year ago • 1 comments

Does anyone run into 100 error on the docker build?

docker build -f data/os_interaction/res/dockerfiles/default data/os_interaction/res/dockerfiles --tag local-os/default

1.987   At least one invalid signature was encountered.
2.082 Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
2.217 Err:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
2.217   At least one invalid signature was encountered.
2.407 Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
2.531 Err:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
2.531   At least one invalid signature was encountered.
2.537 Reading package lists...
2.559 W: GPG error: http://archive.ubuntu.com/ubuntu noble InRelease: At least one invalid signature was encountered.
2.559 E: The repository 'http://archive.ubuntu.com/ubuntu noble InRelease' is not signed.
2.559 W: GPG error: http://security.ubuntu.com/ubuntu noble-security InRelease: At least one invalid signature was encountered.
2.559 E: The repository 'http://security.ubuntu.com/ubuntu noble-security InRelease' is not signed.
2.559 W: GPG error: http://archive.ubuntu.com/ubuntu noble-updates InRelease: At least one invalid signature was encountered.
2.559 E: The repository 'http://archive.ubuntu.com/ubuntu noble-updates InRelease' is not signed.
2.559 W: GPG error: http://archive.ubuntu.com/ubuntu noble-backports InRelease: At least one invalid signature was encountered.
2.559 E: The repository 'http://archive.ubuntu.com/ubuntu noble-backports InRelease' is not signed.
------
default:2
--------------------
   1 |     FROM ubuntu
   2 | >>> RUN apt update && apt install python3 -y && apt install python3-pip -y && apt install git -y && apt install vim -y && apt install curl -y && apt install wget -y && apt install unzip -y && apt install zip -y && apt install tree -y
   3 |     CMD ["bash"]
   4 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt update && apt install python3 -y && apt install python3-pip -y && apt install git -y && apt install vim -y && apt install curl -y && apt install wget -y && apt install unzip -y && apt install zip -y && apt install tree -y" did not complete successfully: exit code: 100

Screenshot from 2024-12-07 19-58-19

YerongLi avatar Dec 08 '24 01:12 YerongLi

I have the same problem with you. Try to change the registry mirrors of docker and I can build the default successfully. However, I failed to build the package with the same error.

Yufei-Xiang avatar Jan 02 '25 04:01 Yufei-Xiang