Created
August 13, 2017 23:57
-
-
Save TimWolla/4c75f38048653f15f0bd813cd29f3a2a to your computer and use it in GitHub Desktop.
This file contains 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
FROM python:2 | |
RUN apt-get update \ | |
&& apt-get install -y gcc \ | |
&& pip install numpy pillow \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN mkdir -p /usr/local/src/overviewer/ \ | |
&& curl -fsSL https://github.com/overviewer/Minecraft-Overviewer/archive/39d588ae45d5e66f92e2c7b8923e5269e601f3b5.tar.gz -o overviewer.tar.gz \ | |
&& tar xvf overviewer.tar.gz --strip-components=1 -C /usr/local/src/overviewer/ \ | |
&& rm overviewer.tar.gz \ | |
&& cd /usr/local/src/overviewer/ \ | |
&& curl -fsSL https://raw.githubusercontent.com/python-pillow/Pillow/master/libImaging/Imaging.h -o Imaging.h \ | |
&& curl -fsSL https://raw.githubusercontent.com/python-pillow/Pillow/master/libImaging/ImPlatform.h -o ImPlatform.h \ | |
&& python setup.py build | |
ENTRYPOINT [ "/usr/local/src/overviewer/overviewer.py" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment