Giter Site home page Giter Site logo

Comments (4)

Yiyiyimu avatar Yiyiyimu commented on September 26, 2024

could take apisix centos rpm test as reference if needed

from apisix-build-tools.

tzssangglass avatar tzssangglass commented on September 26, 2024

could take apisix centos rpm test as reference if needed

got, thx. and I have one more question, if runs on ubuntu and execute make package type=rpm app=apisix-openresty version=1.19.3.2, it will build rpm, reference to

build-apisix-openresty-rpm:
mkdir -p ${PWD}/build/rpm
docker build -t apache/apisix-openresty:$(version) -f ./dockerfiles/Dockerfile.apisix-openresty.rpm .
docker run -d --name dockerInstance --net="host" apache/apisix-openresty:$(version)
docker cp dockerInstance:/usr/local/openresty/ ${PWD}/build/rpm
docker system prune -a -f

in Dockerfile.apisix-openresty.rpm

ARG image_base="centos"
ARG image_tag="7"
FROM ${image_base}:${image_tag}
COPY build-apisix-openresty-centos7.sh /tmp/build-apisix-openresty-centos7.sh
COPY build-apisix-openresty.sh /tmp/build-apisix-openresty.sh
WORKDIR /tmp
RUN ["/bin/sh", "-c", "./build-apisix-openresty-centos7.sh"]

which copies the build-apisix-openresty-centos7.sh, this means base build rpm in docker based on centos7 image, so I don't need to build centos7 environment in CI with docker?

I'm not sure.

from apisix-build-tools.

spacewander avatar spacewander commented on September 26, 2024

We need to test if the rpm can be installed, so we need CentOS.

from apisix-build-tools.

Yiyiyimu avatar Yiyiyimu commented on September 26, 2024

We need to test if the rpm can be installed, so we need CentOS.

Sry forgot about that. Then we need CI other than Github Actions I guess

from apisix-build-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.