bigbash icon indicating copy to clipboard operation
bigbash copied to clipboard

Dockerfile

Open rationalthinker1 opened this issue 6 years ago • 0 comments

Hello, I don't know if it's useful or not, but I've created this Dockerfile to work out with the dependencies.

I have this Dockerfile:

FROM maven:3.6.2-jdk-8-openj9

RUN apt-get update -y && apt-get install -y git
RUN git clone https://github.com/Borisvl/bigbash.git
WORKDIR /bigbash
RUN ./bigbash.sh
ENTRYPOINT ["./bigbash.sh"]
CMD ["--help"

and then I would run: docker run -it --rm -v $(pwd):/data bigbash -f /data/m1_test1.sql to get the output

(trap "kill 0" SIGINT; cat movies.dat|sed "s/::/$(printf '\t')/g"|cut -d $'\t' -f2|sort -S2G -t$'\t' -k 1,1|head -n10|awk -F '\t' '{print $1}')

rationalthinker1 avatar Nov 20 '19 23:11 rationalthinker1