1
0

fix(Dockerfile): fail build when apt-get fails
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Pim van den Berg 2022-09-17 15:24:14 +02:00
parent 288045eb53
commit 15e959391d
4 changed files with 12 additions and 12 deletions

10
debian/11/Dockerfile vendored
View File

@ -1,15 +1,15 @@
FROM debian:bullseye-slim FROM debian:bullseye-slim
RUN set -eux; \ RUN set -eux && \
apt-get update; \ apt-get update && \
apt-get upgrade -y; \ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
pdns-server \ pdns-server \
pdns-backend-bind \ pdns-backend-bind \
sqlite3 \ sqlite3 \
bind9-dnsutils \ bind9-dnsutils \
inotify-tools \ inotify-tools \
; \ && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
ADD start.sh / ADD start.sh /

2
debian/11/build.sh vendored
View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -x set -ex
IMAGE=pommib/powerdns:4.4-bullseye IMAGE=pommib/powerdns:4.4-bullseye
docker pull $IMAGE docker pull $IMAGE

10
debian/12/Dockerfile vendored
View File

@ -1,15 +1,15 @@
FROM debian:bookworm-slim FROM debian:bookworm-slim
RUN set -eux; \ RUN set -eux && \
apt-get update; \ apt-get update && \
apt-get upgrade -y; \ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
pdns-server \ pdns-server \
pdns-backend-bind \ pdns-backend-bind \
sqlite3 \ sqlite3 \
bind9-dnsutils \ bind9-dnsutils \
inotify-tools \ inotify-tools \
; \ && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
ADD start.sh / ADD start.sh /

2
debian/12/build.sh vendored
View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -x set -ex
IMAGE=pommib/powerdns:4.6-bookworm IMAGE=pommib/powerdns:4.6-bookworm
docker pull $IMAGE docker pull $IMAGE