REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE node <none> sha256:016052a6780d578fff9ac8822e66dd483db6ffb94573028b36cdd6ea48e98082 993f38da6c6c 11 days ago 677MB
ubuntu@ubuntu:~/docker/elasticsearch-ik$ docker build -t elastic-ik . --no-cache Sending build context to Docker daemon 4.507MB Step 1/3 : FROM docker.elastic.co/elasticsearch/elasticsearch:6.5.4 ---> 93109ce1d590 Step 2/3 : ENV VERSION=6.5.4 ---> Running in 520c5b73edc8 Removing intermediate container 520c5b73edc8 ---> 96e96aa28b66 Step 3/3 : RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v${VERSION}/elasticsearch-analysis-ik-$VERSION.zip ---> Running in 5fd671edd1eb -> Downloading https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.5.4/elasticsearch-analysis-ik-6.5.4.zip [=================================================] 100%?? @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: plugin requires additional permissions @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ * java.net.SocketPermission * connect,resolve See Permissions in the JDK for descriptions of what these permissions allow and the associated risks.
Exception in thread "main" java.lang.IllegalStateException: unable to read from standard input; is standard input open and a tty attached? at org.elasticsearch.cli.Terminal$SystemTerminal.readText(Terminal.java:173) at org.elasticsearch.plugins.PluginSecurity.prompt(PluginSecurity.java:74) at org.elasticsearch.plugins.PluginSecurity.confirmPolicyExceptions(PluginSecurity.java:67) at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:801) at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:775) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:231) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.Command.main(Command.java:90) at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47) The command '/bin/sh -c /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v${VERSION}/elasticsearch-analysis-ik-$VERSION.zip' returned a non-zero code: 1
RUN sh -c '/bin/echo -e "y" | /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v${VERSION}/elasticsearch-analysis-ik-$VERSION.zip'