Closed austinnichols101 closed 5 years ago
Current image: anapsix/alpine-java:8 Proposed image: openjdk:8u151-jdk-alpine3.7
anapsix/alpine-java:8
openjdk:8u151-jdk-alpine3.7
Benefits:
anapsix/alpine-java 8 40fe4a000c2e 4 days ago 125MB openjdk 8u151-jdk-alpine3.7 224765a6bdbe 7 weeks ago 102MB
I also suggest pulling in the spark/mist requirements from the official repositories rather than local files:
SPARK
ENV SPARK_VERSION="2.3.0" ENV SPARK_HOME="/usr/share/spark" # Auto-extract spark into the destination folder RUN mkdir -p ${SPARK_HOME} \ && wget -O- http://mirror.reverse.net/pub/apache/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop2.7.tgz \ | tar -xz -C ${SPARK_HOME} --strip-components 1
MIST
ENV MIST_VERSION="1.0.0-RC12" ENV MIST_HOME="/usr/share/mist" # Auto-extract mist into the destination folder RUN mkdir -p ${MIST_HOME} \ && wget -O- http://repo.hydrosphere.io/hydrosphere/static/mist-${MIST_VERSION}.tar.gz \ | tar -xz -C ${MIST_HOME} --strip-components 1
It's a good suggestion about base image. About docker building - the way you suggest takes more time - we always have the same distributives locally so there is no reason to increase release build time
Current image:
anapsix/alpine-java:8
Proposed image:openjdk:8u151-jdk-alpine3.7
Benefits:
I also suggest pulling in the spark/mist requirements from the official repositories rather than local files:
SPARK
MIST