aboutsummaryrefslogtreecommitdiff
path: root/mfi/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mfi/Dockerfile')
-rw-r--r--mfi/Dockerfile39
1 files changed, 0 insertions, 39 deletions
diff --git a/mfi/Dockerfile b/mfi/Dockerfile
deleted file mode 100644
index 35a160f..0000000
--- a/mfi/Dockerfile
+++ /dev/null
@@ -1,39 +0,0 @@
1FROM ubuntu:14.04
2MAINTAINER Michael Crute <mike@crute.us>
3
4RUN export DEBIAN_FRONTEND=noninteractive && \
5 apt-get update && \
6 apt-get install -y curl software-properties-common
7
8RUN export DEBIAN_FRONTEND=noninteractive && \
9 apt-get install -y sudo psmisc mongodb-server openjdk-7-jre-headless jsvc && \
10 apt-add-repository -y "deb http://dl.ubnt.com/mfi/distros/deb/ubuntu ubuntu ubiquiti" && \
11 apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50 && \
12 apt-get update && \
13 apt-get install -y mfi
14
15RUN \
16 apt-get clean && \
17 rm -rf /var/lib/apt/lists/* && \
18 rm -rf /tmp/*
19
20# Inform Port
21EXPOSE 6080
22# HTTPS Web UI & API
23EXPOSE 6443
24
25VOLUME "/var/lib/mfi"
26VOLUME "/var/log/mifi"
27
28CMD [ \
29 "/usr/bin/jsvc", "-nodetach", \
30 "-home", "/usr/lib/jvm/java-7-openjdk-amd64", \
31 "-cp", "/usr/share/java/commons-daemon.jar:/usr/lib/mfi/lib/ace.jar", \
32 "-pidfile", "/var/run/mfi/mfi.pid", \
33 "-procname", "mfi", \
34 "-outfile", "SYSLOG", \
35 "-errfile", "SYSLOG", \
36 "-Djava.awt.headless=true", \
37 "-Xmx1024M", \
38 "com.ubnt.ace.Launcher" \
39]