Skip to content

Instantly share code, notes, and snippets.

@TimWolla
Created August 13, 2017 23:57
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 TimWolla/4c75f38048653f15f0bd813cd29f3a2a to your computer and use it in GitHub Desktop.
Save TimWolla/4c75f38048653f15f0bd813cd29f3a2a to your computer and use it in GitHub Desktop.
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