anchor.diff:  RUN chown -R mysql:mysql /var/lib/mysql
   
   # Config files
  -USER mysql
  +USER 1000
   WORKDIR /etc/mysql
   COPY docker-entrypoint.sh /usr/local/bin/
   ENTRYPOINT ["docker-entrypoint.sh"]
  
positive.code: 	&& 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)" \
  	&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
  	&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
  	&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc \
  	&& chmod +x /usr/local/bin/gosu \
  	&& gosu nobody true \
  
negative.code: # gpg: key 5072E1F5: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" imported
  	key='A4A9406876FCBD3C456770C88C718D3B5072E1F5'; \
  	export GNUPGHOME="$(mktemp -d)"; \
  	gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key" || \
          gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
          gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \
  	gpg --export "$key" > /etc/apt/trusted.gpg.d/mysql.gpg; \
  	rm -rf "$GNUPGHOME"; \
  	apt-key list > /dev/null
  
  ENV MYSQL_MAJOR 5.7
  ENV MYSQL_VERSION 5.7.22-1debian9
  
  RUN echo "deb http://repo.mysql.com/apt/debian/ stretch mysql-${MYSQL_MAJOR}" > /etc/apt/sources.list.d/mysql.list
  
  