-
Notifications
You must be signed in to change notification settings - Fork 104
Open
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 #421 , the author modify dockerfile as below, I used this way
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
Metadata
Metadata
Assignees
Labels
No labels