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