Skip to content

Instantly share code, notes, and snippets.

@tkrajina
Created July 31, 2019 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkrajina/27819e613b540cb60fa464f3475b9f4d to your computer and use it in GitHub Desktop.
Save tkrajina/27819e613b540cb60fa464f3475b9f4d to your computer and use it in GitHub Desktop.
sgfutils Dockerfile
# 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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment