commit | author | age
|
9de1b8
|
1 |
FROM debian |
JK |
2 |
MAINTAINER Jacek Kowalski <Jacek@jacekk.info> |
|
3 |
|
|
4 |
ENV MFI_VERSION 2.1.11 |
|
5 |
|
|
6 |
RUN apt-get update \ |
|
7 |
&& apt-get -y dist-upgrade \ |
|
8 |
&& apt-get -y install wget jsvc openjdk-7-jre-headless mongodb-server binutils unzip \ |
|
9 |
&& apt-get -y clean |
|
10 |
|
|
11 |
RUN cd /tmp \ |
|
12 |
&& wget "http://dl.ubnt.com/mfi/${MFI_VERSION}/mFi.unix.zip" \ |
|
13 |
&& unzip mFi.unix.zip \ |
|
14 |
&& mv /tmp/mFi /usr/lib/mfi |
|
15 |
|
b8a163
|
16 |
EXPOSE 6080 6443 |
9de1b8
|
17 |
|
JK |
18 |
VOLUME /usr/lib/mfi/data |
|
19 |
|
|
20 |
WORKDIR /var/lib/mfi |
|
21 |
CMD ["/usr/bin/java", "-Xmx1024M", "-jar", "/usr/lib/mfi/lib/ace.jar", "start"] |