Skip to main content

Version: 3.9.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.9.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.9.0-debian 5c3b6ffdef06 About a minute ago 337MB

API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation