You can use
Makefile located at the root folder to build a docker image with the current codebase.
It not only contains the process of building a docker image but also includes all the required steps, for instance, init workspace, build artifact from scratch. It builds two images, OAP, and UI.
docker image ls | grep skywalking skywalking/ui latest a14db4e1d70d 6 minutes ago 800MB skywalking/oap latest 2a6084450b44 6 minutes ago 862MB
There are some environment variables to control image building.
The Docker build context path, under this path, there should be the distribution tar ball.
ls $CONTEXT apache-skywalking-apm-bin.tar.gz
The distribution tar ball name, for example,
The SkyWalking CLI version to be included in the OAP image, it must be an official Apache release version.
The hub of docker image. The default value is
The tag of docker image. The default value is
We can start up backend cluster by docker-compose
docker compose up
docker/.env file contains the default elasticsearch tag (