This repository was archived by the owner on Jan 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:xenial
2+
3+ MAINTAINER Simon Holzmayer <
[email protected] >
4+
5+ ARG DEBIAN_FRONTEND=noninteractive
6+
7+ RUN apt-get -q -y update \
8+ && apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install apt-utils \
9+ && 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 \
11+ && apt-get -q -y autoremove \
12+ && apt-get -q -y clean \
13+ && rm -rf /var/lib/apt/lists/*
14+
15+ COPY util/dumb-init_1.2.0_armhf /usr/bin/dumb-init
16+ COPY util/entrypoint.sh /entrypoint.sh
17+ ENTRYPOINT ["/entrypoint.sh"]
Original file line number Diff line number Diff line change 11#! /bin/bash
2- docker build -t networkboot/dhcpd " $@ " $( dirname $0 )
2+ MACHINE_TYPE=` uname -m`
3+
4+ if [ ${MACHINE_TYPE} == ' x86_64' ]; then
5+ docker build -t networkboot/dhcpd " $@ " $( dirname $0 )
6+ elif [ ${MACHINE_TYPE} == ' armv7l' ]; then
7+ docker build -t networkboot/dhcpd:arm32v7 " $@ " $( dirname $0 ) -f Dockerfile.arm32v7
8+ fi
You can’t perform that action at this time.
0 commit comments