From 27590dee3a63294083b72170c17c0f5851f83fb6 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 13 May 2018 16:49:01 +0000 Subject: [PATCH] Rebase image to openjdk:7-jre-slim --- Dockerfile | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 749c34a..7f8fbbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,20 @@ -FROM debian -MAINTAINER Jacek Kowalski <Jacek@jacekk.info> +FROM openjdk:7-jre-slim ENV MFI_VERSION 2.1.11 RUN apt-get update \ && apt-get -y dist-upgrade \ - && apt-get -y install wget jsvc openjdk-7-jre-headless mongodb-server binutils unzip \ - && apt-get -y clean + && apt-get -y install --no-install-recommends \ + wget jsvc mongodb-server binutils unzip \ + && apt-get -y clean \ + && rm -Rf /var/lib/apt/lists/* RUN cd /tmp \ && wget "http://dl.ubnt.com/mfi/${MFI_VERSION}/mFi.unix.zip" \ && unzip mFi.unix.zip \ && mv /tmp/mFi /usr/lib/mfi -EXPOSE 8080 8081 8443 8843 8880 +EXPOSE 6080 6443 VOLUME /usr/lib/mfi/data -- Gitblit v1.9.1