Fix elastic search image 85/94585/2
authorsebdet <sebastien.determe@intl.att.com>
Thu, 29 Aug 2019 13:08:15 +0000 (15:08 +0200)
committersebdet <sebastien.determe@intl.att.com>
Thu, 29 Aug 2019 13:21:35 +0000 (15:21 +0200)
There was a problem to execute the script as it was not executable

Issue-ID: CLAMP-485
Change-Id: I01323bff5ae14bd4b94815dea0ebd3a6ca8fa071
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
pom.xml
src/main/docker/elasticsearch/Dockerfile

diff --git a/pom.xml b/pom.xml
index ca20dfc..f857945 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                                        </goals>
                                                                        <phase>deploy</phase>
                                                                        <configuration>
+                                                                           <skip>true</skip>
                                                                                <arguments>publish --registry ${npm.publish.url}</arguments>
                                                                        </configuration>
                                                                </execution>
index 2c932c8..41252be 100644 (file)
@@ -6,6 +6,7 @@ COPY config/ config/
 COPY bin/ bin/
 #RUN chmod +x bin/init_sg.sh
 COPY my-entrypoint.sh /usr/local/bin/my-entrypoint.sh
+RUN chmod a+x /usr/local/bin/my-entrypoint.sh
 # Search Guard plugin
 RUN elasticsearch-plugin install --batch com.floragunn:search-guard-6:6.6.2-25.1 \
        && chmod +x plugins/search-guard-6/tools/*.sh \