Skip to content

Instantly share code, notes, and snippets.

@samklr
Created December 14, 2014 22:18
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 samklr/46b43a5b89d331127b4d to your computer and use it in GitHub Desktop.
Save samklr/46b43a5b89d331127b4d to your computer and use it in GitHub Desktop.
Docker Aerospike
FROM ubuntu:trusty
MAINTAINER Sam B. samklr@me.com
RUN apt-get update && apt-get install -y logrotate python python-dev wget curl nano
RUN (wget -q -O - http://www.aerospike.com/artifacts/aerospike-server-community/3.3.26/aerospike-server-community-3.3.26-debian7.tgz | tar xzf - -C /) \
&& cd /aerospike-server-community-3.3.26-debian7 \
&& ./asinstall \
&& rm -Rf /aerospike-server-community-3.3.26-debian7
VOLUME ["/opt/aerospike/data"]
EXPOSE 3000 3001 3002 3003
ENTRYPOINT ["/usr/bin/asd", "--foreground"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment