Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 8097027

Browse files
committed
Gotten rid of some more warnings during build
1 parent eb72ef3 commit 8097027

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ FROM ubuntu:xenial
22

33
MAINTAINER Robin Smidsrød <[email protected]>
44

5-
RUN apt-get -q -y update \
6-
&& apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" dist-upgrade \
7-
&& apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install isc-dhcp-server man python3\
8-
&& apt-get -q -y autoremove \
9-
&& apt-get -q -y clean \
5+
RUN DEBIAN_FRONTEND=noninteractive apt-get -q -y update \
6+
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install apt-utils \
7+
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" dist-upgrade \
8+
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y -o "DPkg::Options::=--force-confold" -o "DPkg::Options::=--force-confdef" install isc-dhcp-server man python3 \
9+
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y autoremove \
10+
&& DEBIAN_FRONTEND=noninteractive apt-get -q -y clean \
1011
&& rm -rf /var/lib/apt/lists/*
1112

1213
COPY util/my_init.py /sbin/my_init

0 commit comments

Comments
 (0)