Skip to content

Instantly share code, notes, and snippets.

@craigminihan
Last active August 1, 2016 22:50
Show Gist options
  • Save craigminihan/6018f4ba9b008d3b6724 to your computer and use it in GitHub Desktop.
Save craigminihan/6018f4ba9b008d3b6724 to your computer and use it in GitHub Desktop.
A Dockerfile for creating an AvanceDB 0.1-alpha image
FROM debian:8.1
MAINTAINER Craig Minihan <[email protected]>
RUN apt-get update && apt-get install -y apt-utils wget
#RUN apt-get install -y libboost1.55
RUN apt-get install -y libboost-system1.55.0 libboost-filesystem1.55.0 libboost-thread1.55.0 libboost-date-time1.55.0 libboost-regex1.55.0 libboost-program-options1.55.0 libboost-chrono1.55.0
RUN adduser --disabled-password --gecos "" avancedb && cd ~avancedb && mkdir Downloads && cd Downloads && wget ftp://ftp.ripcordsoftware.com/pub/avancedb/avancedb-0.1.0-alpha-debian-8.x.tar.gz
RUN cd ~avancedb && mkdir bin && cd bin && tar xvfz ../Downloads/avancedb-0.1.0-alpha-debian-8.x.tar.gz
EXPOSE 5994
CMD su -c "cd ~/bin && ./avancedb" avancedb
@craigminihan
Copy link
Author

  • You'll need Docker installed - see https://docs.docker.com/engine/installation/
  • Copy the text into a local file called Dockerfile
  • run docker build -t rs/avancedb:v0.1.0 .
  • run docker run -d -p 5994:5994 rs/avancedb:v0.1.0

AvanceDB will be running on port 5994 on your local system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment