MagicGopher opened a new issue, #107: URL: https://github.com/apache/rocketmq-docker/issues/107
Problem description. The build script execution failed, and the terminal information is as follows: ``` > sh build-image.sh 4.9.8 centos Version = 4.9.8 DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 35.84kB Step 1/23 : FROM eclipse-temurin:8-jdk-centos7 AS builder 8-jdk-centos7: Pulling from library/eclipse-temurin 6717b8ec66cd: Pull complete 3e8872ff80c9: Pull complete c3fb8a2564dd: Pull complete 9653d55c1418: Pull complete 27cfe16a1faa: Pull complete Digest: sha256:1b94e6658b77b42f3d8d5ccc2ffda12afbbcd73943bcd16b0b49b5abe700ed1f Status: Downloaded newer image for eclipse-temurin:8-jdk-centos7 ---> 360e0ad6bba7 Step 2/23 : ARG version ---> Running in 5bc5d1cf6d5a ---> Removed intermediate container 5bc5d1cf6d5a ---> e0ff1cb39522 Step 3/23 : RUN set -eux && yum -y update && yum -y install curl gnupg unzip && yum clean all -y ---> Running in baa4e5b356be + yum -y update Loaded plugins: fastestmirror, ovl Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=aarch64&repo=os&infra=container error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error" One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=<repoid> ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable <repoid> or subscription-manager repos --disable=<repoid> 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true Cannot find a valid baseurl for repo: base/7/aarch64 The command '/bin/sh -c set -eux && yum -y update && yum -y install curl gnupg unzip && yum clean all -y' returned a non-zero code: 1 ``` How can I solve this problem? Should I replace yum with apt? And then replace eclipse-temurin:8-jdk-centos7 with openjdk? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org