sonic-buildimage/dockers/docker-dhcp-relay/Dockerfile

19 lines
492 B
Docker
Raw Normal View History

2016-11-23 18:09:43 -06:00
FROM docker-base
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
## 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