Skip to content
Snippets Groups Projects
Commit f3bceef0 authored by nimrod's avatar nimrod
Browse files

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

parent 804d4d62
No related branches found
No related tags found
No related merge requests found
FROM debian:jessie FROM debian:jessie
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ 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 COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash", "--login"] CMD ["/bin/bash", "--login"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment