mirror of
https://github.com/boostorg/mysql.git
synced 2026-02-16 01:22:20 +00:00
- Added connection::connection overload accepting a user-defined SSL context. - Added SSL certificate validation example. - Removed ssl_options. - Fixed an incorrect constexpr implementation (value::is_convertible_to). - Made I/O objects' valid() behavior after move operations more uniform. - Changed exception type thrown by value::get to a custom one defined in Boost.Mysql. - Changed docs link in README. closes #39 closes #27 closes #25 closes #10
19 lines
624 B
Docker
19 lines
624 B
Docker
#
|
|
# Copyright (c) 2019-2021 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
|
|
FROM mysql:8.0.20
|
|
|
|
ENV MYSQL_ALLOW_EMPTY_PASSWORD=1
|
|
ENV MYSQL_ROOT_PASSWORD=
|
|
|
|
COPY example/db_setup.sql /docker-entrypoint-initdb.d/example_db_setup.sql
|
|
COPY test/integration/*.sql /docker-entrypoint-initdb.d/
|
|
COPY tools/docker/mysql_entrypoint.sh /
|
|
COPY tools/docker/ssl.cnf /etc/mysql/conf.d/
|
|
COPY tools/ssl/*.pem /etc/ssl/certs/mysql/
|
|
|
|
ENTRYPOINT ["/bin/bash", "/mysql_entrypoint.sh"] |