mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
76da9cf780
Revert Java client docker image JDK bump (no AArch64 available)
15 lines
457 B
Docker
15 lines
457 B
Docker
# docker build -t clickhouse/mysql-java-client .
|
|
# MySQL Java client docker container
|
|
|
|
FROM openjdk:8-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
|