2021-01-13 09:49:52 +00:00
|
|
|
# docker build -t yandex/clickhouse-sqlancer-test .
|
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
2021-03-12 15:26:35 +00:00
|
|
|
RUN apt-get update --yes && env DEBIAN_FRONTEND=noninteractive apt-get install wget unzip git openjdk-14-jdk maven python3 --yes --no-install-recommends
|
2021-04-27 10:41:39 +00:00
|
|
|
|
2021-01-13 09:49:52 +00:00
|
|
|
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 /
|
2021-02-26 11:43:58 +00:00
|
|
|
COPY process_sqlancer_result.py /
|
2021-01-13 09:49:52 +00:00
|
|
|
CMD ["/bin/bash", "/run.sh"]
|