mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +00:00
e06d3ca1a5
Introduce `removeLowCardinalityAndNullable` function Fix incorrect removeLowCar/removeNullable usages Add more MySQL text protocol tests Deprecate old Java client tests Use JDK 17 for test MySQL Java container
15 lines
458 B
Docker
15 lines
458 B
Docker
# docker build -t clickhouse/mysql-java-client .
|
|
# MySQL Java client docker container
|
|
|
|
FROM openjdk:17-jdk-alpine
|
|
|
|
RUN apk --no-cache add curl
|
|
|
|
ARG ver=8.1.0
|
|
RUN curl -L -o /mysql-connector-j-${ver}.jar https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/${ver}/mysql-connector-j-${ver}.jar
|
|
ENV CLASSPATH=$CLASSPATH:/mysql-connector-j-${ver}.jar
|
|
|
|
WORKDIR /jdbc
|
|
COPY MySQLJavaClientTest.java MySQLJavaClientTest.java
|
|
RUN javac MySQLJavaClientTest.java
|