mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
16 lines
572 B
Docker
16 lines
572 B
Docker
# docker build -t clickhouse/sqlancer-test .
|
|
FROM ubuntu:20.04
|
|
|
|
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list
|
|
|
|
RUN apt-get update --yes && env DEBIAN_FRONTEND=noninteractive apt-get install wget unzip git default-jdk maven python3 --yes --no-install-recommends
|
|
RUN wget https://github.com/sqlancer/sqlancer/archive/master.zip -O /sqlancer.zip
|
|
RUN mkdir /sqlancer && \
|
|
cd /sqlancer && \
|
|
unzip /sqlancer.zip
|
|
RUN cd /sqlancer/sqlancer-master && mvn package -DskipTests
|
|
|
|
COPY run.sh /
|
|
COPY process_sqlancer_result.py /
|
|
CMD ["/bin/bash", "/run.sh"]
|