I havent played around with it much, so I dont know exactly what needs to persist but I will improve upon this image if you guys need me to. Just figured it'd be nice to share.
Also, I had to upload v.3.0.0 build 3043 to my S3 account so it will play nicely with docker. If this is not allowed please let me know and Ill remove that portion, it will just require more work on the users end to get it to work.
Anyways, the docker file:
Code: Select all
## Maintained by Joey Stout <jstout@jiinxt.com>
## For the CumulusMX community
##
## How to build:
## 1) Install Docker
## 2) Run command:
## docker build -t cumulus:latest --build-arg TZ=your/tz/data /path/to/this/file
##
##
## How to run:
## 1) Run command:
## docker run -dit -p 8998:8998 -p 8002:8002 --name cumulus --privileged -v /dev/bus/usb:/dev/bus/usb cumulus:latest
## 2) Browse your.ip.here:8998, and setup cumulus
## 3) Restart the container:
## docker stop cumulus && docker start cumulus
FROM debian:wheezy
MAINTAINER Joey Stout <jstout@jiinxt.com>
ARG TZ=America/Indiana/Indianapolis
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y wget unzip software-properties-common curl \
&& rm -rf /var/lib/apt/lists/*
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5.1 main" > /etc/apt/sources.list.d/mono-xamarin.list \
&& apt-get update \
&& apt-get install -y mono-complete \
&& rm -rf /var/lib/apt/lists/*
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN wget https://s3.us-east-2.amazonaws.com/jiinxt.com/CumulusMX.zip
RUN unzip CumulusMX.zip
CMD cd CumulusMX && mono CumulusMX.exe