update baculum from 11 to 15

This commit is contained in:
Eduardo Fraga
2024-11-27 16:39:29 -03:00
parent 3c6adb73f0
commit b8816acced
11 changed files with 242 additions and 17 deletions

View File

@@ -6,18 +6,21 @@ COPY baculum.list /etc/apt/sources.list.d/baculum.list
RUN apt update && \
apt -y install \
php-bcmath \
php-bcmath \
php*-mbstring \
php-fpm \
libapache2-mod-php \
baculum-api \
baculum-api-apache2 \
baculum-common \
bacula-console \
baculum-web \
baculum-common \
baculum-web \
baculum-web-apache2 \
supervisor
RUN curl -OL https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/archive/Branch-15.0/bacula-community-Branch-15.0.tar.gz \
&& tar zxf bacula-community-Branch-15.0.tar.gz \
&& cd bacula-community-Branch-15.0/gui/baculum/ \
&& cp -Rf index.php assets protected themes /usr/share/baculum/htdocs/ || echo ok
COPY sudoers-baculum /etc/sudoers.d/sudoers-baculum
RUN usermod -aG bacula www-data && \
@@ -39,4 +42,7 @@ RUN mkdir -p /run/php
# RUN yum -y clean all && rm -rf /var/cache/yum
CMD ["/usr/bin/supervisord"]
ENTRYPOINT ["/usr/bin/supervisord"]
# CMD ["/usr/bin/supervisord"]
# CMD ["sleep", "50000"]