/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docker/tpch/Dockerfile
26 строк
560 B
Tim Veil
updating version of tool
09 фев 2019, 22:00
09 фев 2019, 22:00
fa9cdb3
Код
Авторство
О чём код?
FROM debian:latest LABEL maintainer="tjveil@gmail.com" ARG VERSION RUN apt-get update \ && apt-get install -y zip make gcc \ && mkdir -v /opt/tpch \ && mkdir -v /opt/tpch-output COPY tpc-h-tool.zip /opt/tpch/tpc-h-tool.zip RUN cd /opt/tpch \ && unzip /opt/tpch/tpc-h-tool.zip \ && rm -rf /opt/tpch/tpc-h-tool.zip \ && cd ${VERSION}/dbgen COPY makefile /opt/tpch/${VERSION}/dbgen/makefile RUN cd /opt/tpch/${VERSION}/dbgen \ && make WORKDIR /opt/tpch/${VERSION}/dbgen CMD ./dbgen -s ${SCALE} && mv -v *.tbl /opt/tpch-output