diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml
index 5964bb052c5..7e43f623284 100644
--- a/hadoop-ozone/dist/pom.xml
+++ b/hadoop-ozone/dist/pom.xml
@@ -28,7 +28,6 @@
UTF-8
true
- apache/ozone:${project.version}
jdk11
@@ -315,9 +314,6 @@
docker-build
-
- ${user.name}/ozone:${project.version}
-
diff --git a/hadoop-ozone/fault-injection-test/network-tests/src/test/compose/docker-compose.yaml b/hadoop-ozone/fault-injection-test/network-tests/src/test/compose/docker-compose.yaml
index 6c8e0fb78be..7175eb885e2 100644
--- a/hadoop-ozone/fault-injection-test/network-tests/src/test/compose/docker-compose.yaml
+++ b/hadoop-ozone/fault-injection-test/network-tests/src/test/compose/docker-compose.yaml
@@ -17,14 +17,14 @@
version: "3"
services:
datanode:
- image: ${user.name}/ozone:${project.version}
+ image: ${docker.image}
ports:
- 9864
command: ["/opt/hadoop/bin/ozone","datanode"]
env_file:
- ./docker-config
om:
- image: ${user.name}/ozone:${project.version}
+ image: ${docker.image}
ports:
- 9874:9874
environment:
@@ -33,7 +33,7 @@ services:
- ./docker-config
command: ["/opt/hadoop/bin/ozone","om"]
scm:
- image: ${user.name}/ozone:${project.version}
+ image: ${docker.image}
ports:
- 9876:9876
env_file:
@@ -42,7 +42,7 @@ services:
ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
command: ["/opt/hadoop/bin/ozone","scm"]
ozone_client:
- image: ${user.name}/ozone:${project.version}
+ image: ${docker.image}
ports:
- 9869
command: ["tail", "-f","/etc/passwd"]
diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml
index 23562760891..a9f818b9bc5 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -35,6 +35,7 @@
${ozone.version}
3.0.0-M1
4.0
+ apache/ozone:${project.version}
common
@@ -365,6 +366,12 @@
+
+ docker-build
+
+ ${user.name}/ozone:${project.version}
+
+
parallel-tests