fix: move amanda-security.conf to the correct location

This commit is contained in:
Dominik Meyer 2024-07-31 12:54:50 +02:00
parent 4901d48650
commit 6309901da2
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -37,7 +37,8 @@ RUN chmod +x /entryPoint.sh
ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/ ENV LD_LIBRARY_PATH /usr/local/share/perl5/site_perl/auto/Amanda/Debug/
RUN chown -R backup:backup /var/backups RUN chown -R backup:backup /var/backups
RUN cp /usr/local/etc/amanda/amanda-security.conf /usr/local/etc/
RUN chown backup:backup /usr/local/etc/amanda-security.conf
USER backup USER backup
ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"] ENTRYPOINT ["/usr/bin/tini", "--", "/entryPoint.sh"]