2019-04-14 16:47:17 UTC
495 MB
en_US.UTF-8
LC_ALLzh_CN.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8ba884070f611d31cb2c42eddb691319dc9facf5e0ec67672fcfa135181ab3df - 14.53% (71.9 MB)
[#001] sha256:3c0979cbe24108aa6ffda1a73461ff4e41cd847fb712521dd3152ee0cf9f74c1 - 24.02% (119 MB)
[#002] sha256:626228b4a32e0d27d23392e1d26fb3e093553d0ba0a0a46af1f1b55303c5296b - 19.93% (98.6 MB)
[#003] sha256:79a58153d3cd2ac6d9e925f795a7d6e5b64e4674240d1d7a5d2e3b10342a20f4 - 11.45% (56.6 MB)
[#004] sha256:e589449d686c8a1ba74c66b6c75b419ef182b4acfb671e2f55c637d7e5c91b26 - 0.88% (4.37 MB)
[#005] sha256:fe54e24719b91c2b76e934148f23cbf9a12c9335fd59682e6a94b2fcaadd4653 - 0.0% (6.22 KB)
[#006] sha256:25e31e7013c8fdd6142dd66511a95f950ab80bb31b65cdca4fc9d0db2b6bb6a7 - 29.18% (144 MB)
/bin/sh -c #(nop) ADD file:074f2c974463ab38cf3532134e8ba2c91c9e346457713f2e8b8e2ac0ee9fd83d in /
2019-03-14 21:19:53 UTC/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20190305
2019-03-14 21:19:53 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2019-04-14 16:38:22 UTC/bin/sh -c yum -y install wget gcc make zlib-devel openssl openssl-devel && cd /opt && wget "https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz" && tar -xvJf Python-3.6.5.tar.xz && cd /opt/Python-3.6.5 && ./configure prefix=/usr/local/python3 && make && make install && ln -fs /usr/local/python3/bin/python3 /usr/bin/python3 && ln -fs /usr/local/python3/bin/pip3 /usr/bin/pip3 && pip3 install virtualenv -i https://mirrors.ustc.edu.cn/pypi/web/simple/ && cd /opt && ln -fs /usr/local/python3/bin/virtualenv /usr/bin/virtualenv && virtualenv venv4archery --python=python3 && rm -rf Python-3.6.5 && rm -rf Python-3.6.5.tar.xz && rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && yum -y install kde-l10n-Chinese && localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
2019-04-14 16:42:19 UTC/bin/sh -c yum -y install epel-release && yum -y install cmake bison gcc-c++ git mysql-devel libaio-devel libffi-devel glib2 glib2-devel && yum -y install https://repo.percona.com/yum/percona-release-latest.noarch.rpm && yum -y install Percona-Server-devel-56 Percona-Server-shared-56 Percona-Server-client-56 && cd /opt && git clone https://github.com/hhyo/SQLAdvisor.git && cd /opt/SQLAdvisor/ && cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr/local/sqlparser ./ && make && make install && cd sqladvisor/ && cmake -DCMAKE_BUILD_TYPE=debug ./ && make && mv /opt/SQLAdvisor/sqladvisor/sqladvisor /opt && rm -rf /opt/SQLAdvisor/
2019-04-14 16:42:57 UTC/bin/sh -c cd /opt && virtualenv venv4schemasync --python=python2 && source venv4schemasync/bin/activate && yum install -y python-devel && pip install schema-sync mysql-python
2019-04-14 16:43:00 UTC/bin/sh -c cd /opt && wget https://github.com/XiaoMi/soar/releases/download/0.11.0/soar.linux-amd64 -O soar && chmod a+x soar
2019-04-14 16:43:02 UTC/bin/sh -c cd /opt && git clone https://github.com/danfengcao/binlog2sql.git && mv binlog2sql/binlog2sql/ tmp_binlog2sql && rm -rf binlog2sql
2019-04-14 16:47:15 UTC/bin/sh -c cd /opt && yum -y install openldap-devel unixODBC-devel gettext nginx && git clone https://github.com/hhyo/archery.git && cd archery && git checkout v1.5.0 && source /opt/venv4archery/bin/activate && pip3 install -r /opt/archery/requirements.txt -i https://mirrors.ustc.edu.cn/pypi/web/simple/ && cp /opt/archery/src/docker/nginx.conf /etc/nginx/ && mv /opt/sqladvisor /opt/archery/src/plugins/ && mv /opt/soar /opt/archery/src/plugins/ && mv /opt/tmp_binlog2sql /opt/archery/src/plugins/binlog2sql
2019-04-14 16:47:16 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8
2019-04-14 16:47:17 UTC/bin/sh -c #(nop) ENV LC_ALL=zh_CN.utf8
2019-04-14 16:47:17 UTC/bin/sh -c #(nop) EXPOSE 9123
2019-04-14 16:47:17 UTC/bin/sh -c #(nop) ENTRYPOINT ["/bin/sh" "-c" "bash /opt/archery/src/docker/startup.sh && bash"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.