FROM tiledb/tiledb-geospatial:latest

WORKDIR /work

RUN apt-get update && apt-get install -y unzip && \
    wget http://ssec.wisc.edu/~rayg/pub/amqpfind.zip && \
    unzip amqpfind.zip && \
    rm amqpfind.zip && \
    rm -rf /var/lib/apt/lists/*

# FIXME: Remove once added to parent image
RUN pip3 install shapely
COPY tile_index.py .
COPY generate_tiles.py .
COPY run.sh .