# limitations under the License. #
##############################################################################
-FROM alpine/git:1.0.7
-RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation/repo
+FROM alpine:latest
+RUN apk --no-cache add --update git
+RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation
FROM mariadb:10.4.6
-COPY --from=0 /opt/akraino/validation/repo/ui/db-scripts/EcompSdkDDLMySql_2_4_Common.sql /docker-entrypoint-initdb.d
-COPY --from=0 /opt/akraino/validation/repo/ui/db-scripts/EcompSdkDDLMySql_2_4_OS.sql /docker-entrypoint-initdb.d
-COPY --from=0 /opt/akraino/validation/repo/ui/db-scripts/EcompSdkDMLMySql_2_4_Common.sql /docker-entrypoint-initdb.d
-COPY --from=0 /opt/akraino/validation/repo/ui/db-scripts/EcompSdkDMLMySql_2_4_OS.sql /docker-entrypoint-initdb.d
-COPY --from=0 /opt/akraino/validation/repo/ui/db-scripts/akraino-blueprint_validation_db.sql /docker-entrypoint-initdb.d
+COPY --from=0 /opt/akraino/validation/ui/db-scripts/EcompSdkDDLMySql_2_4_Common.sql /docker-entrypoint-initdb.d
+COPY --from=0 /opt/akraino/validation/ui/db-scripts/EcompSdkDDLMySql_2_4_OS.sql /docker-entrypoint-initdb.d
+COPY --from=0 /opt/akraino/validation/ui/db-scripts/EcompSdkDMLMySql_2_4_Common.sql /docker-entrypoint-initdb.d
+COPY --from=0 /opt/akraino/validation/ui/db-scripts/EcompSdkDMLMySql_2_4_OS.sql /docker-entrypoint-initdb.d
+COPY --from=0 /opt/akraino/validation/ui/db-scripts/akraino-blueprint_validation_db.sql /docker-entrypoint-initdb.d
#
FROM maven:3.6.1-jdk-11 as build
-RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation/repo
-RUN cd /opt/akraino/validation/repo/ui && mvn clean package
+RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation
+RUN cd /opt/akraino/validation/ui && mvn clean package
FROM tomcat:8.5.37
-COPY --from=build /opt/akraino/validation/repo/ui/target/AECBlueprintValidationUI.war /usr/local/tomcat/webapps
+COPY --from=build /opt/akraino/validation/ui/target/AECBlueprintValidationUI.war /usr/local/tomcat/webapps