2019-06-04 13:01:16 +00:00
|
|
|
# docker build -t yandex/clickhouse-integration-test .
|
2020-09-21 07:38:11 +00:00
|
|
|
FROM yandex/clickhouse-test-base
|
2019-07-09 19:41:22 +00:00
|
|
|
|
2019-05-21 06:17:46 +00:00
|
|
|
RUN apt-get update \
|
2019-12-13 13:56:53 +00:00
|
|
|
&& env DEBIAN_FRONTEND=noninteractive apt-get -y install \
|
|
|
|
tzdata \
|
2020-10-02 16:54:07 +00:00
|
|
|
python3 \
|
2019-12-13 13:56:53 +00:00
|
|
|
libreadline-dev \
|
|
|
|
libicu-dev \
|
|
|
|
bsdutils \
|
|
|
|
gdb \
|
|
|
|
unixodbc \
|
|
|
|
odbcinst \
|
|
|
|
libsqlite3-dev \
|
|
|
|
libsqliteodbc \
|
|
|
|
odbc-postgresql \
|
|
|
|
sqlite3 \
|
|
|
|
curl \
|
2020-09-29 08:56:37 +00:00
|
|
|
tar \
|
2020-10-27 12:24:10 +00:00
|
|
|
krb5-user \
|
2021-02-26 19:05:25 +00:00
|
|
|
iproute2 \
|
2021-03-11 21:21:14 +00:00
|
|
|
lsof \
|
|
|
|
g++
|
2019-12-13 13:56:53 +00:00
|
|
|
RUN rm -rf \
|
2019-05-21 06:17:46 +00:00
|
|
|
/var/lib/apt/lists/* \
|
|
|
|
/var/cache/debconf \
|
|
|
|
/tmp/* \
|
2019-12-13 13:56:53 +00:00
|
|
|
RUN apt-get clean
|
|
|
|
|
|
|
|
# Install MySQL ODBC driver
|
2020-07-27 10:01:26 +00:00
|
|
|
RUN curl 'https://cdn.mysql.com//Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.21-linux-glibc2.12-x86-64bit.tar.gz' --output 'mysql-connector.tar.gz' && tar -xzf mysql-connector.tar.gz && cd mysql-connector-odbc-8.0.21-linux-glibc2.12-x86-64bit/lib && mv * /usr/local/lib && ln -s /usr/local/lib/libmyodbc8a.so /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
|
2018-11-21 10:09:16 +00:00
|
|
|
|
|
|
|
ENV TZ=Europe/Moscow
|
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
2021-01-14 11:46:24 +00:00
|
|
|
|