Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit f0fd76d

Browse files
committed
minor hadolint fixes by pinning versions and use copy not add
1 parent b561f64 commit f0fd76d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ FROM debian:bullseye
22

33
RUN apt-get update \
44
&& DEBIAN_FRONTEND=noninteractive \
5-
apt-get install -y --no-install-recommends pdns-server pdns-backend-pgsql \
5+
apt-get install -y --no-install-recommends pdns-server=4.3.1-2 pdns-backend-pgsql=4.3.1-2 \
66
&& rm -rf /etc/powerdns/pdns.d/* /var/lib/apt/lists/*
77

8-
ADD pdns.conf /etc/powerdns/
9-
ADD init /sbin/
8+
COPY pdns.conf /etc/powerdns/
9+
COPY init /sbin/
1010

1111
EXPOSE 53/tcp 53/udp
1212

0 commit comments

Comments
 (0)