sonic-buildimage/dockers/docker-dhcp-relay/Dockerfile
2016-11-23 16:09:43 -08:00

18 lines
408 B
Docker

FROM docker-base
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
## Install isc-dhcp-relay
## Clean up
RUN apt-get update && apt-get -y install \
isc-dhcp-relay && \
apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
COPY isc-dhcp-relay /etc/default/isc-dhcp-relay
ENTRYPOINT service rsyslog start \
&& service isc-dhcp-relay start \
&& /bin/bash