Skip to main content
Version: apisix-3.5.0

Build an image from the source codes

Build an image from source#

Docker images are not official ASF releases but provided for convenience. Recommended usage is always to build the source.

  1. 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 ``

export APISIX_VERSION=3.0.0
make build-on-debian
  1. 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 code#

  1. cd into the root of APISIX project.
  2. Use the provided dockerfile to build an image like so:
docker build -t apisix-dev-local -f /path/to/debian-dev/Dockerfile.local  .