1
0
Fork 0

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

master
Pim van den Berg 3 months ago
parent 288045eb53
commit 15e959391d

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

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

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

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

Loading…
Cancel
Save