jujiale opened a new issue, #12508:
URL: https://github.com/apache/apisix/issues/12508

   ### Description
   
   hello, I want to build apisix-runtime v1.3.2 for centos7, when I use this 
repo code and use the following command to build
   
   `
   nohup make package type=rpm app=apisix-runtime version=1.3.2 
image_base=centos image_tag=7 > out3.log 2>&1 &
   `
   
   at first, it failed quickly, I find in this issue 
https://github.com/api7/apisix-build-tools/issues/421 , the author modify 
dockerfile as below, I used this way
   
   <img width="1372" height="845" alt="Image" 
src="https://github.com/user-attachments/assets/276ce88e-10d1-45db-8369-6e679747aaad";
 />
   
         
   
     then I contine to build apisix-runtime, but I find the build result is 
failed, the error msg in below:
       
         
    `
         
             3653.4 CentOS-7 - Extras                               255 kB/s | 
361 kB     00:01
         3655.4 Package yum-utils-1.1.31-54.el7_8.noarch is already installed.
         3655.9 Dependencies resolved.
         3656.4 Nothing to do.
         3656.4 Complete!
         3656.4 + yum -y install '--disablerepo=*' 
--enablerepo=ubi-8-appstream-rpms --enablerepo=ubi-8-baseos-rpms gcc gcc-c++ 
patch wget git make sudo xz cpanminus
         3656.6 Loaded plugins: fastestmirror, ovl
         3656.6
         3656.6
         3656.6 **Error getting repository data for ubi-8-appstream-rpms, 
repository not found**
         ------
         Dockerfile.apisix-runtime.rpm:27
         --------------------
           26 |    
           27 | >>> RUN yum install -y curl \
           28 | >>>     && curl --proto '=https' --tlsv1.2 -sSf 
https://sh.rustup.rs | sh -s -- -y \
           29 | >>>     && source "$HOME/.cargo/env" \
           30 | >>>     && rustup install 1.69 \
           31 | >>>     && rustup default 1.69 \
           32 | >>>     # build apisix runtime
           33 | >>>     && mv ./utils/build-common.sh ./utils/determine-dist.sh 
./ \
           34 | >>>     && ./build-common.sh build_apisix_runtime_rpm \
           35 | >>>     # determine dist and write it into /tmp/dist file
           36 | >>>     && ./determine-dist.sh
           37 |    
         --------------------
         ERROR: failed to solve: process "/bin/sh -c yum install -y curl     && 
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y     && 
source \"$HOME/.cargo/env\"     && rustup install 1.69     && rustup default 
1.69     && mv ./utils/build-common.sh ./utils/determine-dist.sh ./     && 
./build-common.sh build_apisix_runtime_rpm     && ./determine-dist.sh" did not 
complete successfully: exit code: 1
   
   
   
   `
   
   I don't know why this happened, hope for help from community, thanks.
   
   **the build machine that I used is Alibaba Cloud ECS centos7.9**
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to