Compiling dubbo-remoting-etcd3
- Configure the container environment.
- Download the Docker source code.
1 2
cd /home wget https://download.docker.com/linux/static/stable/aarch64/docker-18.09.6.tgz --no-check-certificate
- Decompress the Docker package.
1tar -zxf docker-18.09.6.tgz
- Set the environment variables.
- Open the /etc/profile file.
1vim /etc/profile - Press i to enter the insert mode and add the following content to the file:
1PATH=$PATH:/home/docker
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
1source /etc/profile
- Open the /etc/profile file.
- Start Docker.
1 2
groupadd docker dockerd &
- Check whether the container is started.
If the Docker process is displayed in the command output, the container is started.
1ps -ef |grep docker

- Download the Docker source code.
- Set the environment variables.
- Modify the /etc/profile file.
- Open the file.
1vim /etc/profile - Press i to enter the insert mode and add the following content to the file:
1export TESTCONTAINERS_RYUK_DISABLED=true
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Make the environment variables take effect.
1source /etc/profile
- Open the file.
- Modify the /root/.testcontainers.properties file.
- Open the file.
1vim /root/.testcontainers.properties - Press i to enter the insert mode and add the following content to the file:
1checks.disable=true
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open the file.
- Modify the /etc/profile file.
- Replace the jetcd-launcher-0.3.0.jar package.
- Obtain the jetcd-launcher-0.3.0.jar package that supports the ARM64 image.
1 2
cd /home wget https://mirrors.huaweicloud.com/kunpeng/maven/io/etcd/jetcd-launcher/0.3.0/jetcd-launcher-0.3.0.jar --no-check-certificate
- Create a local repository directory.
1mkdir -p /root/.m2/repository/io/etcd/jetcd-launcher/0.3.0/
- Replace the jetcd-launcher-0.3.0.jar package in the local repository.
1\cp /home/jetcd-launcher-0.3.0.jar /root/.m2/repository/io/etcd/jetcd-launcher/0.3.0/jetcd-launcher-0.3.0.jar
- Obtain the jetcd-launcher-0.3.0.jar package that supports the ARM64 image.
- Go to the dubbo-remoting-etcd3 directory.
1cd /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-remoting/dubbo-remoting-etcd3/
- Compile the dubbo-remoting-etcd3 module.
1mvn install

If BUILD SUCCESS is displayed, the dubbo-remoting-etcd3 module is compiled successfully.
Parent topic: Compiling and Installing Dubbo