anchor.diff:      && export GNUPGHOME="$(mktemp -d)" \
       && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys ${OWNCLOUD_GPGKEY} \
       && gpg --batch --verify owncloud.tar.bz2.asc owncloud.tar.bz2 \
  -    && tar -xjf owncloud.tar.bz2 -C /usr/src/ \
  +    && mkdir /usr/src \
  +    && tar -xjf owncloud.tar.bz2 -C /usr/src \
  +    && addgroup -g 82 -S www-data \
  +    && adduser -u 82 -D -S -G www-data www-data \
       && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
       && echo "Asia/Shanghai" > /etc/timezone \
       && rm -rf ${GNUPGHOME} \
  
positive.code: FROM mritd/php7:7.1.9 
  
  LABEL maintainer="mritd <mritd1234@gmail.com>"
  
  
negative.code: ENV OWNCLOUD_DOWNLOAD_ASC_URL https://download.owncloud.org/community/owncloud-${OWNCLOUD_VERSION}.tar.bz2.asc
  
  RUN apk upgrade --update \
      && apk add bash tzdata gnupg openssl tar curl ca-certificates \
          php7-fpm php7-exif php7-gd php7-intl php7-ldap \
          php7-mbstring php7-mcrypt php7-opcache php7-pdo \
          php7-pdo_mysql php7-pdo_pgsql php7-pgsql php7-zip \
          php7-apcu php7-memcached php7-redis \
  