mydb 8.4.0

0
@nickolay-ihalainen-mydb-ru 1 месяц назад
Загрузите образ из командной строки
Шаг 1/1: Запустите через командную строку
docker pull registry.gitflic.ru/project/mydb-ru/mydb-server/mydb:8.4.0
Отпечаток
sha256:e9b9122d9608f8849513087dd01aa318e99bcfef830290cfac1e344c765cca88
Слои образа
ADD file:90b9dd8f12120e8b2cd3ece45fcbe8af67e40565e2032a40f64bd921c43e2ce7 in /
CMD ["bash"]
RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg && rm -rf /var/lib/apt/lists/* # buildkit
ENV GOSU_VERSION=1.17
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 openssl perl xz-utils zstd ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; key='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; mkdir -p /etc/apt/keyrings; gpg --batch --export "$key" > /etc/apt/keyrings/mysql.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
ENV MYSQL_MAJOR=8.4
ENV MYSQL_VERSION=8.4.0-1.1
ENV MYSQLSH_VERSION=8.4.3-1
RUN /bin/sh -c apt-get update && apt-get install -y wget locales && sed -i 's/^# *\(ru_RU.UTF-8\)/\1/' /etc/locale.gen && sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && locale-gen && update-locale LANG=ru_RU.utf8 && wget -q https://downloads.mydb.ru/downloads/mydb-server-"${MYSQL_MAJOR}"/mydb-server-"${MYSQL_VERSION}"/binary/debian/bookworm/x86_64/mydb-server_"${MYSQL_VERSION}"-1.bookworm_amd64.deb && wget -q https://downloads.mydb.ru/downloads/mydb-server-"${MYSQL_MAJOR}"/mydb-server-"${MYSQL_VERSION}"/binary/debian/bookworm/x86_64/mydb-common_"${MYSQL_VERSION}"-1.bookworm_amd64.deb && wget -q https://downloads.mydb.ru/downloads/mydb-server-"${MYSQL_MAJOR}"/mydb-server-"${MYSQL_VERSION}"/binary/debian/bookworm/x86_64/mydb-client_"${MYSQL_VERSION}"-1.bookworm_amd64.deb && wget -q https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell_"${MYSQLSH_VERSION}"debian12_amd64.deb && DEBIAN_FRONTEND="noninteractive" apt-get install -y ./*.deb && rm -rf *.deb && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld && chown -R mysql:mysql /var/lib/mysql /var/run/mysqld && chmod 1777 /var/run/mysqld /var/lib/mysql # buildkit
ENV LANG=ru_RU.UTF-8
ENV LANGUAGE=ru_RU:ru
ENV LC_ALL=ru_RU.UTF-8
VOLUME [/var/lib/mysql]
COPY config/ /etc/mysql/ # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE map[3306/tcp:{} 33060/tcp:{}]
CMD ["mysqld"]
Назад
Дополнительно
Тип загрузки: Транспортный

Метаданные

Тип образа: OCI / Docker

Платформа: linux/amd64