Created
July 31, 2019 17:24
-
-
Save tkrajina/27819e613b540cb60fa464f3475b9f4d to your computer and use it in GitHub Desktop.
Revisions
-
tkrajina created this gist
Jul 31, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # Build: # docker build -t sgfutils . # Run sgfutils: # docker run -v $(pwd):/sgfutils -it sgfutils FROM ubuntu:latest RUN apt-get -y update RUN apt-get -y install curl RUN apt-get -y install build-essential RUN apt-get -y install libssl-dev RUN curl https://homepages.cwi.nl/~aeb/go/sgfutils/sgfutils.tgz -o sgfutils.tgz RUN gzip -d sgfutils.tgz RUN tar -xvf sgfutils.tar RUN cd sgfutils-* && make RUN cp sgfutils-*/sgf* /usr/local/bin WORKDIR /sgfutils CMD ["/bin/bash"]