From 81d34b1aae9847f09cc71a3f40c595f6bf8caba3 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Thu, 1 Aug 2024 08:10:48 +0200 Subject: [PATCH] feat: provide own amanda-security.conf --- client/Containerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/Containerfile b/client/Containerfile index 8a85f77..53505fc 100644 --- a/client/Containerfile +++ b/client/Containerfile @@ -5,7 +5,8 @@ ARG AMANDA_VERSION=tag-community-3.5.4 RUN apt-get -qy update && apt-get -qy upgrade RUN apt-get -qy install git libssl-dev make autoconf autoconf-archive automake bash bison \ flex perl libperl-dev libglib2.0-dev swig \ - libtirpc-dev libreadline-dev libxslt1-dev libxml-simple-perl procps + libtirpc-dev libreadline-dev libxslt1-dev libxml-simple-perl procps \ + dump xfsprogs xfsdump WORKDIR /src RUN git clone https://github.com/zmanda/amanda.git && cd amanda && git checkout ${AMANDA_VERSION} && git submodule update --init --recursive @@ -21,7 +22,8 @@ FROM debian:stable-slim RUN apt-get -qy update && apt-get -qy upgrade RUN apt-get -qy install git libssl3 bash perl libglib2.0 swig libtirpc3 libreadline8 \ - libxslt1.1 libxml-simple-perl libjson-perl openbsd-inetd procps + libxslt1.1 libxml-simple-perl libjson-perl openbsd-inetd procps \ + dump xfsprogs xfsdump RUN apt-get -qy install tini @@ -37,7 +39,7 @@ RUN chmod +x /entryPoint.sh ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/ RUN chown -R backup:backup /var/backups -RUN cp /usr/local/etc/amanda/amanda-security.conf /usr/local/etc/ +COPY conf/amanda-client.conf /usr/local/etc/ RUN chown root:root /usr/local/etc/amanda-security.conf RUN mkdir -p /usr/local/var/amanda/gnutar-lists