Namespace
hhyo
Image / Tag
archery:ci
Content Digest
sha256:5b50cef003eb01fbfefb0e26e6387944f6b5b06f869e3caac4b9436c154449b4
Details
Created

2020-11-01 10:40:32 UTC

Size

653 MB

Content Digest
Labels
  • org.label-schema.build-date
    20200809
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Base Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS
  • org.opencontainers.image.created
    2020-08-09 00:00:00+01:00
  • org.opencontainers.image.licenses
    GPL-2.0-only
  • org.opencontainers.image.title
    CentOS Base Image
  • org.opencontainers.image.vendor
    CentOS

Environment
DOCKERIZE_VERSION

v0.6.1

LANG

en_US.UTF-8

LC_ALL

zh_CN.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_VERSION

3.8.6

SOAR_VERSION

0.11.0

TZ

Asia/Shanghai


Layers

[#000] sha256:75f829a71a1c5277a7abf55495ac8d16759691d980bf1d931795e5eb68a294c0 - 11.08% (72.3 MB)

[#001] sha256:6293d455afb6c5a2f629dac389fc06a285625373161fb1bbf2e8877580a79c05 - 4.95% (32.3 MB)

[#002] sha256:9549658f0d3bfe7ae81822af148b29e431f2fd0950251801288205cc76b2919f - 33.26% (217 MB)

[#003] sha256:932fc995b2af6526d5f1c5d35f937b4d04243f1b40403061c84db83cdf78c2e2 - 19.89% (130 MB)

[#004] sha256:948f7723505401d18c85137063e8350090ca20610f5dd265aab9c1e50547f1a9 - 0.0% (116 Bytes)

[#005] sha256:427543172fd43981f1ce726140c59dfbd2851f483e196fe36ee6634d6b453043 - 2.79% (18.2 MB)

[#006] sha256:9e997af83effb0f62e33ae14985a7c5487546d1c934563f0964418ea1c9e33ab - 28.04% (183 MB)


History
2020-08-10 18:20:08 UTC

/bin/sh -c #(nop) ADD file:61908381d3142ffba798ae9a904476d19b197ab79d0338f14bec0f76649df8d4 in /

2020-08-10 18:20:09 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=20200809 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-08-09 00:00:00+01:00

2020-08-10 18:20:09 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2020-11-01 10:12:03 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.6

2020-11-01 10:12:03 UTC

/bin/sh -c #(nop) ENV DOCKERIZE_VERSION=v0.6.1

2020-11-01 10:12:04 UTC

/bin/sh -c #(nop) ENV SOAR_VERSION=0.11.0

2020-11-01 10:12:04 UTC

/bin/sh -c #(nop) ENV TZ=Asia/Shanghai

2020-11-01 10:12:04 UTC

/bin/sh -c #(nop) ENV LANG=en_US.UTF-8

2020-11-01 10:12:05 UTC

/bin/sh -c #(nop) WORKDIR /opt

2020-11-01 10:12:15 UTC

/bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && yum -y install kde-l10n-Chinese && localedef -c -f UTF-8 -i zh_CN zh_CN.utf8

2020-11-01 10:12:15 UTC

/bin/sh -c #(nop) ENV LC_ALL=zh_CN.utf8

2020-11-01 10:20:03 UTC

/bin/sh -c yum -y install libffi-devel wget gcc make zlib-devel openssl openssl-devel ncurses-devel openldap-devel gettext && cd /opt && wget "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" && tar -xvJf Python-$PYTHON_VERSION.tar.xz && cd /opt/Python-$PYTHON_VERSION && ./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 && cd /opt && ln -fs /usr/local/python3/bin/virtualenv /usr/bin/virtualenv && virtualenv venv4archery --python=python3 && rm -rf Python-$PYTHON_VERSION && rm -rf Python-$PYTHON_VERSION.tar.xz && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz && yum -y install epel-release && yum -y install cmake bison gcc-c++ git mysql-devel libaio-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 && yum -y install percona-toolkit && cd /opt && git clone https://github.com/hhyo/SQLAdvisor.git --depth 3 && 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/

2020-11-01 10:20:24 UTC

/bin/sh -c cd /opt && wget https://github.com/XiaoMi/soar/releases/download/$SOAR_VERSION/soar.linux-amd64 -O soar && chmod a+x soar && cd /opt && git clone https://github.com/danfengcao/binlog2sql.git && mv binlog2sql/binlog2sql/ tmp_binlog2sql && rm -rf binlog2sql && cd /opt && curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo && ACCEPT_EULA=Y yum -y install msodbcsql17 && yum -y install unixODBC-devel && yum -y install http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.3-basiclite-19.3.0.0.0-1.x86_64.rpm && wget -c https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-3.6.20.tgz && tar -xvf mongodb-linux-x86_64-rhel70-3.6.20.tgz && cp mongodb-linux-x86_64-rhel70-3.6.20/bin/mongo /usr/local/bin/mongo && rm -rf mongodb-linux-x86_64-*

2020-11-01 10:37:05 UTC

/bin/sh -c #(nop) WORKDIR /opt/archery

2020-11-01 10:37:06 UTC

/bin/sh -c #(nop) COPY dir:a445154baa8f4151fcddd948068ed0a2d9b6d47a1eb6d24c725ab8d3acc442ec in /opt/archery/

2020-11-01 10:40:30 UTC

/bin/sh -c cd /opt && yum -y install nginx && source /opt/venv4archery/bin/activate && pip3 install -r /opt/archery/requirements.txt && cp /opt/archery/src/docker/nginx.conf /etc/nginx/ && cp /opt/archery/src/docker/supervisord.conf /etc/ && mv /opt/sqladvisor /opt/archery/src/plugins/ && mv /opt/soar /opt/archery/src/plugins/ && mv /opt/tmp_binlog2sql /opt/archery/src/plugins/binlog2sql

2020-11-01 10:40:31 UTC

/bin/sh -c #(nop) EXPOSE 9123

2020-11-01 10:40:32 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/bin/sh" "-c" "bash /opt/archery/src/docker/startup.sh && bash"]

Danger Zone
Delete Tag

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.

Delete