Created
July 31, 2019 17:24
-
-
Save tkrajina/27819e613b540cb60fa464f3475b9f4d to your computer and use it in GitHub Desktop.
sgfutils Dockerfile
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 characters
# 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