2016-11-23 18:09:43 -06:00
|
|
|
FROM docker-base
|
|
|
|
|
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2017-01-21 00:33:11 -06:00
|
|
|
## Install isc-dhcp-relay and clean up afterward
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get -y install isc-dhcp-relay \
|
|
|
|
&& apt-get clean -y \
|
|
|
|
&& apt-get autoclean -y \
|
|
|
|
&& apt-get autoremove -y
|
2016-11-23 18:09:43 -06:00
|
|
|
|
|
|
|
COPY isc-dhcp-relay /etc/default/isc-dhcp-relay
|
|
|
|
|
|
|
|
ENTRYPOINT service rsyslog start \
|
|
|
|
&& service isc-dhcp-relay start \
|
|
|
|
&& /bin/bash
|
|
|
|
|