ClickHouse/docker/test/compatibility/centos/Dockerfile
2019-06-04 16:01:16 +03:00

6 lines
302 B
Docker

# docker build -t yandex/clickhouse-test-old-centos .
FROM centos:5
CMD /bin/sh -c "/clickhouse server --config /config/config.xml > /var/log/clickhouse-server/stderr.log 2>&1 & \
sleep 5 && /clickhouse client --query \"select 'OK'\" 2> /var/log/clickhouse-server/clientstderr.log || echo 'FAIL'"