Build an image from the source codes
#
Build an image from sourceDocker images are not official ASF releases but provided for convenience. Recommended usage is always to build the source.
- install release version (Apache releases are beginning from version 0.9):
# Assign Apache release version number to variable `APISIX_VERSION`, for example: 3.0.0. The latest version can be find at `https://github.com/apache/apisix/releases`
export APISIX_VERSION=3.0.0
make build-on-debian
- install master branch version, which has latest code(ONLY for the developer's convenience):
export APISIX_VERSION=master
make build-on-debian
#
Build an image from customized/patched source codecd
into the root of APISIX project.- Use the provided dockerfile to build an image like so:
docker build -t apisix-dev-local -f /path/to/debian-dev/Dockerfile.local .