anchor.diff:  # Install gosu
   ARG GOSU_VERSION=1.10
   RUN set -x \
  -    && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
  +    && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget \
       && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
       && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
       && export GNUPGHOME="$(mktemp -d)" \
  
positive.code: ONBUILD COPY hadoop/conf/ ${HADOOP_CONF_DIR}/
  ONBUILD COPY dags/ ${AIRFLOW_DAG}
  
  
  COPY install_spark_packages.py ${AIRFLOW_HOME}/install_spark_packages.py
  ONBUILD RUN gosu "${USER}" python install_spark_packages.py
  
  
negative.code:     && rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
      && chmod +x /usr/local/bin/gosu \
      && gosu nobody true \
      && apt-get remove -y wget \
      && apt-get -y autoremove \
      && rm -rf /var/lib/apt/lists/*
  
  COPY setup_auth.py ${AIRFLOW_HOME}/setup_auth.py
  VOLUME ${AIRFLOW_HOME}/logs
  