Commit f3bceef0 authored by nimrod's avatar nimrod
Browse files

- Remove temporary files and APT's cache, reduce image size.

parent 804d4d62
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
FROM debian:jessie
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
    apt-get install -y unbound unbound-host dnsutils dma bsd-mailx
    apt-get install -y unbound unbound-host dnsutils dma bsd-mailx && \
    rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash", "--login"]