fix(Dockerfile): fail build when apt-get fails
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
288045eb53
commit
15e959391d
10
debian/11/Dockerfile
vendored
10
debian/11/Dockerfile
vendored
@ -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
2
debian/11/build.sh
vendored
@ -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
10
debian/12/Dockerfile
vendored
@ -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
2
debian/12/build.sh
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user