Skip to main content

Version: 3.12.0

Build Your Own Docker Images

You can build your own Docker images and customize for your needs.

Prerequisite(s)

  • Install make to build your Docker image from makefile.

Clone Repository

Clone the repository and navigate into the repository:

git clone https://github.com/apache/apisix-docker.git
cd apisix-docker

Build a Docker Image

Build a Docker image from a release:

APISIX_VERSION=3.12.0       # specify a release version
DISTRO=debian # debian, centos, or redhat
make build-on-$DISTRO

The make command builds a Docker image with this Dockerfile. You can further customize the relevant files for your needs.

Check Docker Image

List all Docker images:

docker images

You should see the list including the image built in the last step:

REPOSITORY     TAG            IMAGE ID       CREATED              SIZE
apache/apisix 3.12.0-debian 5c3b6ffdef06 About a minute ago 337MB
API7.ai Logo

The digital world is connected by APIs,
API7.ai exists to make APIs more efficient, reliable, and secure.

Sign up for API7 newsletter

Product

API7 Gateway

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2025. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation