feat: provide own amanda-security.conf
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Dominik Meyer 2024-08-01 08:10:48 +02:00
parent 3e9e1b6372
commit 81d34b1aae
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -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