anchor.diff:      (if ls | grep -q ".tar.gz"; then tar -xzf *.tar.gz && rm *.tar.gz; fi) && \
       ln -s alluxio-* alluxio
   
  +RUN if [ ${ENABLE_DYANMIC_USER} = "true" ] ; then \
  +       chmod -R 777 /opt/* ; \
  +    fi
  +
   FROM openjdk:8-jdk-alpine
   ARG ALLUXIO_USERNAME=alluxio
   ARG ALLUXIO_GROUP=alluxio
   ARG ALLUXIO_UID=1000
   ARG ALLUXIO_GID=1000
  +ARG ENABLE_DYANMIC_USER=false
   
   RUN apk --no-cache --update add bash libc6-compat shadow && \
       rm -rf /var/cache/apk/*
  
positive.code: FROM alpine:3.10.2 AS extractor
  # Note that downloads for *-SNAPSHOT tarballs are not available
  ARG ALLUXIO_TARBALL=http://downloads.alluxio.io/downloads/files/2.4.0-SNAPSHOT/alluxio-2.4.0-SNAPSHOT-bin.tar.gz
  
  ADD ${ALLUXIO_TARBALL} /opt/
  # if the tarball was remote, it needs to be untarred
  
negative.code: COPY --chown=${ALLUXIO_USERNAME}:${ALLUXIO_GROUP} conf /opt/alluxio/conf/
  COPY --chown=${ALLUXIO_USERNAME}:${ALLUXIO_GROUP} entrypoint.sh /
  
  
  RUN if [ ${ENABLE_DYANMIC_USER} = "true" ] ; then \
         chmod -R 777 /journal; \
      fi
  
  USER ${ALLUXIO_UID}
  
  WORKDIR /opt/alluxio
  