File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ WORKDIR /work/src
2424RUN perl Build.PL --quiet --install_base /app --etcdir /etc/sqitch \
2525 --config installman1dir= --config installsiteman1dir= --config installman3dir= --config installsiteman3dir= \
2626 --with sqlite --with postgres --with firebird --with odbc \
27+ && ln -s /usr/include/ibase.h /usr/include/firebird/ \
2728 && ./Build test && ./Build bundle \
2829 && rm -rf /app/man \
2930 && find /app -name '*.pod' | grep -v sqitch | xargs rm -rf
@@ -35,11 +36,11 @@ FROM debian:stable-slim AS sqitch
3536# Install runtime system dependencies and remove unnecesary files.
3637RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
3738 && apt-get -qq update \
38- && apt-get -qq --no-install-recommends install less libperl5.24 perl-doc nano \
39+ && apt-get -qq --no-install-recommends install less libperl5.28 perl-doc nano \
3940 sqlite3 \
4041 firebird3.0-utils libfbclient2 \
4142 libpq5 postgresql-client \
42- mariadb-client-core-10.1 libmariadbclient18 libdbd-mysql-perl \
43+ mariadb-client-core-10.3 libmariadb-dev-compat libdbd-mysql-perl \
4344 && apt-cache pkgnames | grep python | xargs apt-get purge -qq \
4445 && apt-cache pkgnames | grep libmagic | xargs apt-get purge -qq \
4546 && apt-get clean \
Original file line number Diff line number Diff line change @@ -46,4 +46,3 @@ docker build --pull \
4646 " ${tagopt[@]} " \
4747 --build-arg " VERSION=${VERSION} " \
4848 " $@ " .
49-
Original file line number Diff line number Diff line change 1+ Testing the Image
2+ =================
3+
4+ MySQL
5+ -----
6+
7+ * Run MySQL in a separate container:
8+
9+ docker run --name=mysqld -d -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -p 3306:3306 mysql:8.0 --default-authentication-plugin=mysql_native_password
10+
11+ * Create a database:
12+
13+ docker run -it --rm mysql mysql -h host.docker.internal --execute 'CREATE DATABASE flipr'
14+
15+ * Test with the URI
` db:mysql://[email protected] /flipr ` .
16+
You can’t perform that action at this time.
0 commit comments