anchor.diff:  COPY --chown=1000:0 config/log4j2.properties /crate/config/log4j2.properties
   
   # install crash
  -RUN curl -fSL -O https://cdn.crate.io/downloads/releases/crash_standalone_0.24.2\
  +RUN curl -fSL -O https://cdn.crate.io/downloads/releases/crash_standalone_0.24.2 \
       && curl -fSL -O https://cdn.crate.io/downloads/releases/crash_standalone_0.24.2.asc \
       && export GNUPGHOME="$(mktemp -d)" \
       && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
  
positive.code: 
  RUN groupadd crate && useradd -u 1000 -g crate -d /crate crate
  
  RUN curl --retry 8 -o /openjdk.tar.gz https://download.java.net/java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12/GPL/openjdk-12.0.1_linux-x64_bin.tar.gz \
      && echo "151eb4ec00f82e5e951126f572dc9116104c884d97f91be14ec11e85fc2dd626 */openjdk.tar.gz" | sha256sum -c - \
      && tar -C /opt -zxf /openjdk.tar.gz \
      && rm /openjdk.tar.gz
  
  ENV JAVA_HOME /opt/jdk-12.0.1
  
  # REF: https://github.com/elastic/elasticsearch-docker/issues/171
  RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /opt/jdk-12.0.1/lib/security/cacerts
  
  # install crate
  RUN yum install -y yum-utils https://centos7.iuscommunity.org/ius-release.rpm \
  
negative.code:     && yum install -y python36u openssl \
      && yum clean all \
      && rm -rf /var/cache/yum \
      && curl -fSL -O https://cdn.crate.io/downloads/releases/crate-3.3.5.tar.gz \
      && curl -fSL -O https://cdn.crate.io/downloads/releases/crate-3.3.5.tar.gz.asc \
      && export GNUPGHOME="$(mktemp -d)" \
      && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
      && gpg --batch --verify crate-3.3.5.tar.gz.asc crate-3.3.5.tar.gz \
      && rm -rf "$GNUPGHOME" crate-3.3.5.tar.gz.asc \
      && tar -xf crate-3.3.5.tar.gz -C /crate --strip-components=1 \
      && rm crate-3.3.5.tar.gz \
      && ln -sf /usr/bin/python3.6 /usr/bin/python3 \
      && ln -sf /usr/bin/python3.6 /usr/bin/python
  
  