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

18 lines
408 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
## 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