Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions dockers/docker-dhcp-relay/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
FROM docker-base

# Dependencies for sonic-cfggen
RUN apt-get install -y python-lxml python-jinja2 python-netaddr python-ipaddr python-yaml

## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive

# Update APT package lists
RUN apt-get update

# Dependencies for sonic-cfggen
RUN apt-get -y install python-lxml python-jinja2 python-netaddr python-ipaddr python-yaml

## 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 \
RUN apt-get -y install isc-dhcp-relay \
&& apt-get clean -y \
&& apt-get autoclean -y \
&& apt-get autoremove -y

COPY ["isc-dhcp-relay.j2", "/usr/share/dhcp-relay/"]
Expand Down