From 37249ab163784021088cf84678e0a9365a04f93d Mon Sep 17 00:00:00 2001 From: Jonas Lejon Date: Wed, 29 Sep 2021 14:45:35 +0200 Subject: [PATCH] Add Dockerfile Found this Dockerfile a while back. Unknown source, but builds just fine with: `docker build -t kiterunner .` --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b242d1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM golang:latest + +RUN apt update + +RUN git clone https://github.com/assetnote/kiterunner.git + +RUN cd kiterunner &&\ + make build &&\ + ln -s $(pwd)/dist/kr /usr/local/bin/kr +RUN mkdir /work +RUN mkdir /execution +ADD https://wordlists-cdn.assetnote.io/data/kiterunner/routes-large.kite.tar.gz /work/routes-large.kite.tar.gz + +RUN cd /work && tar -xvzf routes-large.kite.tar.gz && rm -rf routes-large.kite.tar.gz +#RUN ls -lah /work +WORKDIR /execution +ENTRYPOINT [ "kr" ]