Sign inSign up

andrewblaney/twofishes

By andrewblaney

•Updated over 8 years ago

fsqio/twofishes docker image with pre-loaded data from DSTK EC2 AMI

Image
0

420

andrewblaney/twofishes repository overview

https://github.com/foursquare/fsqio/issues/55⁠

Dockerfile to build this image:

FROM fsqio/fsqio

ENV DATA_DIR /data/twofishes
ENV TWOFISHES_LATEST_PREBUILT_INDEX twofishesdata.zip
RUN mkdir -p $DATA_DIR
COPY twofishesdata.zip $DATA_DIR/.
RUN unzip $DATA_DIR/$TWOFISHES_LATEST_PREBUILT_INDEX -d $DATA_DIR \
  && rm $DATA_DIR/$TWOFISHES_LATEST_PREBUILT_INDEX

EXPOSE 8080 8081 8082 8083
CMD ["./src/jvm/io/fsq/twofishes/scripts/serve.py", "-p", "8080", "--vm_map_count", "65530", "/data/twofishes/latest/"]

Tag summary

Content type

Image

Digest

Size

3.2 GB

Last updated

over 8 years ago

docker pull andrewblaney/twofishes