a81f3fc6d92a3e4537874f5fa83d3221fdae7c9f..c5b5438d3c1e28ed433c7c7080b252eb7287f1f5
2017-11-26 Jacek Kowalski
Remove APT lists from image to lower its size
c5b543 diff | tree
2017-11-26 Jacek Kowalski
Change base image from debian to openjdk:8-jre-slim
6efbe3 diff | tree
1 files modified
11 ■■■■ changed files
Dockerfile 11 ●●●● patch | view | raw | blame | history
Dockerfile
@@ -1,13 +1,12 @@
FROM debian:jessie
FROM openjdk:8-jre-slim
MAINTAINER Jacek Kowalski <Jacek@jacekk.info>
ENV OPENFIRE_VERSION 4.1.5
RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' > \
        /etc/apt/sources.list.d/jessie-backports.list \
    && apt-get -y update \
    && apt-get -y -t jessie-backports install openjdk-8-jre-headless wget sudo \
    && apt-get -y clean
RUN apt-get -y update \
    && apt-get -y install wget sudo \
    && apt-get -y clean \
    && rm -Rf /var/lib/apt/lists/*
RUN cd /tmp \
    && wget -O openfire.deb "https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${OPENFIRE_VERSION}_all.deb" \