Last active
August 1, 2016 22:50
-
-
Save craigminihan/6018f4ba9b008d3b6724 to your computer and use it in GitHub Desktop.
A Dockerfile for creating an AvanceDB 0.1-alpha image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dockerfile
docker build -t rs/avancedb:v0.1.0 .
docker run -d -p 5994:5994 rs/avancedb:v0.1.0
AvanceDB will be running on port 5994 on your local system.