This repository was archived by the owner on Jan 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-357
lines changed Expand file tree Collapse file tree 5 files changed +5
-357
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ ARG DEBIAN_FRONTEND=noninteractive
77RUN apt-get -q -y update \
88 && apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install apt-utils \
99 && apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" dist-upgrade \
10- && apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install isc-dhcp-server man python3 \
10+ && apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install isc-dhcp-server man \
1111 && apt-get -q -y autoremove \
1212 && apt-get -q -y clean \
1313 && rm -rf /var/lib/apt/lists/*
1414
15- COPY util/my_init.py /sbin/my_init
15+ COPY util/dumb-init_1.2.0_amd64 /usr/bin/dumb-init
1616COPY util/entrypoint.sh /entrypoint.sh
1717ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ This image uses the following software components:
5555
5656 * Ubuntu Linux distribution from < https://www.ubuntu.com > .
5757 * ISC DHCP server from < https://www.isc.org/downloads/dhcp/ > .
58- * Docker-optimized my_init from < https://github.com/phusion/baseimage-docker > .
58+ * Dumb-init from < https://github.com/Yelp/dumb-init > .
5959
6060Copyright & License
6161===================
6262
63- This project is copyright
2016 Robin Smidsrød
< [email protected] > .
63+ This project is copyright
2017 Robin Smidsrød
< [email protected] > .
6464
6565It is licensed under the Apache 2.0 license.
6666
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [ -z "$1" ]; then
1313 IFACE=" "
1414fi
1515
16- init=" /sbin/my_init --skip-startup-files --skip-runit "
16+ init=" /usr/bin/dumb-init "
1717
1818if [ -n " $IFACE " ]; then
1919 # Run dhcpd for specified interface or all interfaces
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments