FROM ubuntu:18.04
RUN apt-get update &&
apt-get install -y openjdk-8-jdk
RUN wget https://downloads.apache.org/ignite/2.13.0/apache-ignite-2.13.0-bin.zip &&
unzip apache-ignite-2.13.0-bin.zip -d /opt &&
rm -f apache-ignite-2.13.0-bin.zip
ENV IGNITE_HOME /opt/apache-ignite-2.13.0-bin
CMD $IGNITE_HOME/bin/ignite.sh
这种方法可以避免使用已过时的镜像和漏洞,因为您可以与最新的开发人员自己编译/更新基础镜像。