Nikita-tech-writer commented on a change in pull request #8532:
URL: https://github.com/apache/ignite/pull/8532#discussion_r558362444
##########
File path: modules/kubernetes/config/Dockerfile
##########
@@ -18,14 +18,17 @@
# Use Java 8 image as default one.
FROM openjdk:8
+# Set Apache Ignite configuration file name.
+ARG IGNITE_CFG_XML="example-kube.xml"
+
# Set Apache Ignite version.
-ENV IGNITE_VERSION 2.0.0-SNAPSHOT
+ARG IGNITE_VERSION="2.0.0"
# Set IGNITE_HOME variable.
ENV IGNITE_HOME /opt/ignite/apache-ignite-${IGNITE_VERSION}-bin
# Setting a path to an Apache Ignite configuration file. Used by run.sh script
below.
-ENV CONFIG_URI ${IGNITE_HOME}/config/example-kube.xml
+ENV CONFIG_URI ${IGNITE_HOME}/config/$IGNITE_CFG_XML
# Make sure kubernetes lib is copied to 'libs' folder.
Review comment:
```suggestion
# Make sure the Kubernetes lib is copied to the 'libs' folder.
```
##########
File path: modules/kubernetes/config/Dockerfile
##########
@@ -51,7 +54,7 @@ COPY ./run.sh $IGNITE_HOME/
RUN chmod +x $IGNITE_HOME/run.sh
# Copying the configuration.
Review comment:
```suggestion
# Copy the configuration.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]