Use common base image.

This commit is contained in:
Stephane Gourichon
2025-08-15 17:35:40 +02:00
parent f63761904f
commit 45e60d70a3
4 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
FROM debian:stable-slim
MAINTAINER Stéphane Gourichon <stephane_sysadmin@gourichon.org>
RUN echo 'Acquire::http { Proxy "http://host.containers.internal:3142"; };' > /etc/apt/apt.conf.d/01proxy
RUN export DEBIAN_FRONTEND=noninteractive ; apt-get update && apt-get -y upgrade

7
partials/fsg-image/build.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -xv
cd -P "$(dirname "$(readlink -f "$0")" )"
podman build -f Dockerfile -t fsg-base

View File

@@ -1,7 +1,5 @@
FROM debian:stable-slim
MAINTAINER Stéphane Gourichon <stephane_sysadmin@gourichon.org>
FROM fsg-base:latest
RUN export DEBIAN_FRONTEND=noninteractive ; apt-get update && apt-get -y upgrade
RUN export DEBIAN_FRONTEND=noninteractive ; apt-get install --no-install-recommends -y bind9
COPY named.conf.local /etc/bind/

View File

@@ -16,6 +16,8 @@ function fail_one()
RC=$(( RC + 1 ))
}
bash partials/fsg-image/build.sh
while IFS="" read -u 3 -r SERVICE_PATH
do
pushd "${SERVICE_PATH%/*}"