diff --git a/containers/mysql/8.0.18/TAG b/containers/mysql/8.0.18/TAG index 095e09d0..58647510 100644 --- a/containers/mysql/8.0.18/TAG +++ b/containers/mysql/8.0.18/TAG @@ -1 +1 @@ -8.0.18.11 +8.0.18.12 diff --git a/containers/mysql/8.0.25/TAG b/containers/mysql/8.0.25/TAG index d806a391..c905da65 100644 --- a/containers/mysql/8.0.25/TAG +++ b/containers/mysql/8.0.25/TAG @@ -1 +1 @@ -8.0.25.11 +8.0.25.12 diff --git a/containers/mysql/8.0.26/TAG b/containers/mysql/8.0.26/TAG index c5634a5b..5b8219e8 100644 --- a/containers/mysql/8.0.26/TAG +++ b/containers/mysql/8.0.26/TAG @@ -1 +1 @@ -8.0.26.12 +8.0.26.13 diff --git a/containers/mysql/8.0.27/TAG b/containers/mysql/8.0.27/TAG index 1407ee5a..b3f31f97 100644 --- a/containers/mysql/8.0.27/TAG +++ b/containers/mysql/8.0.27/TAG @@ -1 +1 @@ -8.0.27.10 +8.0.27.11 diff --git a/containers/mysql/8.0.28/TAG b/containers/mysql/8.0.28/TAG index 23ea7b74..cb61333b 100644 --- a/containers/mysql/8.0.28/TAG +++ b/containers/mysql/8.0.28/TAG @@ -1 +1 @@ -8.0.28.12 +8.0.28.13 diff --git a/containers/mysql/8.0.30/TAG b/containers/mysql/8.0.30/TAG index 9a6b3f33..64e4e88b 100644 --- a/containers/mysql/8.0.30/TAG +++ b/containers/mysql/8.0.30/TAG @@ -1 +1 @@ -8.0.30.10 +8.0.30.11 diff --git a/containers/mysql/8.0.31/TAG b/containers/mysql/8.0.31/TAG index 1cb6222c..50920aba 100644 --- a/containers/mysql/8.0.31/TAG +++ b/containers/mysql/8.0.31/TAG @@ -1 +1 @@ -8.0.31.9 +8.0.31.10 diff --git a/containers/mysql/8.0.32/TAG b/containers/mysql/8.0.32/TAG index 08d8fbc7..d0cad8b8 100644 --- a/containers/mysql/8.0.32/TAG +++ b/containers/mysql/8.0.32/TAG @@ -1 +1 @@ -8.0.32.4 +8.0.32.5 diff --git a/containers/mysql/8.0.33/TAG b/containers/mysql/8.0.33/TAG index 9a007602..87db27df 100644 --- a/containers/mysql/8.0.33/TAG +++ b/containers/mysql/8.0.33/TAG @@ -1 +1 @@ -8.0.33.3 +8.0.33.4 diff --git a/containers/mysql/8.0.34/TAG b/containers/mysql/8.0.34/TAG index db3761c9..1a0267ed 100644 --- a/containers/mysql/8.0.34/TAG +++ b/containers/mysql/8.0.34/TAG @@ -1 +1 @@ -8.0.34.3 +8.0.34.4 diff --git a/containers/mysql/8.0.35/TAG b/containers/mysql/8.0.35/TAG index f827b27b..bd759c48 100644 --- a/containers/mysql/8.0.35/TAG +++ b/containers/mysql/8.0.35/TAG @@ -1 +1 @@ -8.0.35.2 +8.0.35.3 diff --git a/containers/mysql/8.0.36/TAG b/containers/mysql/8.0.36/TAG index f801b29d..6bb95aee 100644 --- a/containers/mysql/8.0.36/TAG +++ b/containers/mysql/8.0.36/TAG @@ -1 +1 @@ -8.0.36.2 +8.0.36.3 diff --git a/containers/mysql/8.0.37/TAG b/containers/mysql/8.0.37/TAG index 0085fc14..1ceab45f 100644 --- a/containers/mysql/8.0.37/TAG +++ b/containers/mysql/8.0.37/TAG @@ -1 +1 @@ -8.0.37.1 +8.0.37.2 diff --git a/containers/mysql/8.0.39/.dockerignore b/containers/mysql/8.0.39/.dockerignore new file mode 100644 index 00000000..72e8ffc0 --- /dev/null +++ b/containers/mysql/8.0.39/.dockerignore @@ -0,0 +1 @@ +* diff --git a/containers/mysql/8.0.39/Dockerfile b/containers/mysql/8.0.39/Dockerfile new file mode 100644 index 00000000..8f851254 --- /dev/null +++ b/containers/mysql/8.0.39/Dockerfile @@ -0,0 +1,40 @@ +FROM ghcr.io/cybozu/ubuntu-dev:22.04 AS builder + +ARG MYSQL_VERSION=8.0.39 + +RUN apt-get update && apt-get -y install --no-install-recommends \ + cmake \ + libncurses5-dev \ + libjemalloc-dev \ + libnuma-dev \ + libaio-dev \ + pkg-config + +RUN cd tmp/ \ + && curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${MYSQL_VERSION}.tar.gz \ + && tar -x -z -f mysql-boost-${MYSQL_VERSION}.tar.gz \ + && cd mysql-${MYSQL_VERSION} \ + && mkdir bld \ + && cd bld \ + && cmake .. -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Release -DWITH_BOOST=$(ls -d ../boost/boost_*) -DWITH_NUMA=1 -DWITH_JEMALLOC=1 -DWITH_PACKAGE_FLAGS=0 \ + && make -j 20 \ + && make install + +FROM ghcr.io/cybozu/ubuntu:22.04 + +COPY --from=builder /usr/local/mysql/LICENSE /usr/local/mysql/LICENSE +COPY --from=builder /usr/local/mysql/bin /usr/local/mysql/bin +COPY --from=builder /usr/local/mysql/lib /usr/local/mysql/lib +COPY --from=builder /usr/local/mysql/share /usr/local/mysql/share + +RUN apt-get update \ + && apt-get install -y --no-install-recommends libjemalloc2 libnuma1 libaio1 \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p /var/lib/mysql \ + && chown -R 10000:10000 /var/lib/mysql + +ENV PATH=/usr/local/mysql/bin:"$PATH" +VOLUME /var/lib/mysql +ENTRYPOINT ["mysqld"] +EXPOSE 3306 33060 33062 8080 +USER 10000:10000 diff --git a/containers/mysql/8.0.39/TAG b/containers/mysql/8.0.39/TAG new file mode 100644 index 00000000..3433de8f --- /dev/null +++ b/containers/mysql/8.0.39/TAG @@ -0,0 +1 @@ +8.0.39.1 diff --git a/containers/mysql/8.0.39/container-structure-test.yaml b/containers/mysql/8.0.39/container-structure-test.yaml new file mode 100644 index 00000000..b1336096 --- /dev/null +++ b/containers/mysql/8.0.39/container-structure-test.yaml @@ -0,0 +1,15 @@ +schemaVersion: '2.0.0' +fileExistenceTests: +- name: 'mysqld' + path: '/usr/local/mysql/bin/mysqld' + shouldExist: true + isExecutableBy: 'owner' +- name: 'mysql lib' + path: '/usr/local/mysql/lib' + shouldExist: true +- name: 'mysql share' + path: '/usr/local/mysql/share' + shouldExist: true +- name: 'mysql LICENSE' + path: '/usr/local/mysql/LICENSE' + shouldExist: true diff --git a/containers/mysql/8.4.0/TAG b/containers/mysql/8.4.0/TAG index 5fa2e0c0..a2a9dea3 100644 --- a/containers/mysql/8.4.0/TAG +++ b/containers/mysql/8.4.0/TAG @@ -1 +1 @@ -8.4.0.1 +8.4.0.2 diff --git a/containers/mysql/8.4.2/.dockerignore b/containers/mysql/8.4.2/.dockerignore new file mode 100644 index 00000000..72e8ffc0 --- /dev/null +++ b/containers/mysql/8.4.2/.dockerignore @@ -0,0 +1 @@ +* diff --git a/containers/mysql/8.4.2/Dockerfile b/containers/mysql/8.4.2/Dockerfile new file mode 100644 index 00000000..a9d0fab5 --- /dev/null +++ b/containers/mysql/8.4.2/Dockerfile @@ -0,0 +1,40 @@ +FROM ghcr.io/cybozu/ubuntu-dev:22.04 AS builder + +ARG MYSQL_VERSION=8.4.2 + +RUN apt-get update && apt-get -y install --no-install-recommends \ + cmake \ + libncurses5-dev \ + libjemalloc-dev \ + libnuma-dev \ + libaio-dev \ + pkg-config + +RUN cd tmp/ \ + && curl -fsSL -O https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-${MYSQL_VERSION}.tar.gz \ + && tar -x -z -f mysql-${MYSQL_VERSION}.tar.gz \ + && cd mysql-${MYSQL_VERSION} \ + && mkdir bld \ + && cd bld \ + && cmake .. -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Release -DWITH_NUMA=1 -DWITH_JEMALLOC=1 -DWITH_PACKAGE_FLAGS=0 \ + && make -j 20 \ + && make install + +FROM ghcr.io/cybozu/ubuntu:22.04 + +COPY --from=builder /usr/local/mysql/LICENSE /usr/local/mysql/LICENSE +COPY --from=builder /usr/local/mysql/bin /usr/local/mysql/bin +COPY --from=builder /usr/local/mysql/lib /usr/local/mysql/lib +COPY --from=builder /usr/local/mysql/share /usr/local/mysql/share + +RUN apt-get update \ + && apt-get install -y --no-install-recommends libjemalloc2 libnuma1 libaio1 \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p /var/lib/mysql \ + && chown -R 10000:10000 /var/lib/mysql + +ENV PATH=/usr/local/mysql/bin:"$PATH" +VOLUME /var/lib/mysql +ENTRYPOINT ["mysqld"] +EXPOSE 3306 33060 33062 8080 +USER 10000:10000 diff --git a/containers/mysql/8.4.2/TAG b/containers/mysql/8.4.2/TAG new file mode 100644 index 00000000..730a105b --- /dev/null +++ b/containers/mysql/8.4.2/TAG @@ -0,0 +1 @@ +8.4.2.1 diff --git a/containers/mysql/8.4.2/container-structure-test.yaml b/containers/mysql/8.4.2/container-structure-test.yaml new file mode 100644 index 00000000..b1336096 --- /dev/null +++ b/containers/mysql/8.4.2/container-structure-test.yaml @@ -0,0 +1,15 @@ +schemaVersion: '2.0.0' +fileExistenceTests: +- name: 'mysqld' + path: '/usr/local/mysql/bin/mysqld' + shouldExist: true + isExecutableBy: 'owner' +- name: 'mysql lib' + path: '/usr/local/mysql/lib' + shouldExist: true +- name: 'mysql share' + path: '/usr/local/mysql/share' + shouldExist: true +- name: 'mysql LICENSE' + path: '/usr/local/mysql/LICENSE' + shouldExist: true