Build Your Own Docker Images
You can build an APISIX image from the released Docker source and customize that source for your environment.
Prerequisite(s)
- Install Git to download the Docker source.
- Install Docker to build and run the image.
- Install Make to run the image build target.
Clone Repository
Clone the release branch for this documentation version:
git clone --branch release/apisix-3.19.0 --depth 1 https://github.com/apache/apisix-docker.git
cd apisix-docker
Build a Docker Image
Build an Ubuntu image with Make:
make build-on-ubuntu
Use make build-on-debian or make build-on-redhat to build one of the other supported images.
Check Docker Image
Confirm that the built image contains the expected APISIX release:
docker run --rm --entrypoint apisix \
apache/apisix:3.19.0-ubuntu version
You should see the APISIX version:
3.19.0