-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6dd3bd
commit f7787d5
Showing
12 changed files
with
48 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM centos:7 | ||
FROM centos:centos7.7.1908 | ||
|
||
MAINTAINER Eduardo Fraga <[email protected]> | ||
|
||
ENV BACULA_VERSION 9.4.4 | ||
ENV BACULA_VERSION 9.6.3 | ||
|
||
ENV BACULA_KEY 5cee4d079821e | ||
|
||
|
@@ -17,11 +17,13 @@ RUN sed -i s/BACULA_VERSION/$(echo $BACULA_VERSION)/g /etc/yum.repos.d/bacula-co | |
|
||
RUN rpm -i https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm | ||
|
||
RUN yum -y upgrade | ||
|
||
RUN yum -y install postgresql94 \ | ||
zip \ | ||
bzip2 | ||
|
||
RUN yum install -y bacula-postgresql --exclude=bacula-mysql | ||
RUN yum install -y bacula-postgresql-$BACULA_VERSION --exclude=bacula-mysql | ||
|
||
RUN yum -y clean all && rm -rf /var/cache/yum | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fametec/bacula-base AS base | ||
FROM fametec/bacula-base:9.6.3 AS base | ||
|
||
FROM postgres:9.4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fametec/bacula-base | ||
FROM fametec/bacula-base:9.6.3 | ||
|
||
MAINTAINER [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM fametec/bacula-base | ||
FROM fametec/bacula-base:9.6.3 | ||
|
||
VOLUME ["/opt/bacula/etc"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
FROM fametec/bacula-base | ||
FROM fametec/bacula-base:9.6.3 | ||
|
||
MAINTAINER [email protected] | ||
|
||
RUN rpm --import http://bacula.org/downloads/baculum/baculum.pub | ||
|
||
COPY baculum.repo /etc/yum.repos.d/baculum.repo | ||
|
||
RUN yum install -y \ | ||
epel-release \ | ||
yum-utils | ||
|
||
RUN yum install -y http://rpms.remirepo.net/enterprise/remi-release-7.rpm | ||
|
||
RUN yum-config-manager --enable remi-php73 | ||
|
||
RUN yum install -y \ | ||
sudo \ | ||
baculum-common \ | ||
|
@@ -18,10 +26,7 @@ RUN yum -y clean all && rm -rf /var/cache/yum | |
|
||
COPY sudoers-baculum /etc/sudoers.d/sudoers-baculum | ||
|
||
RUN { \ | ||
echo '[Date]'; \ | ||
echo 'date.timezone = UTC ; '; \ | ||
} > /etc/php.d/timezone.ini | ||
COPY timezone.ini /etc/php.d/timezone.ini | ||
|
||
|
||
VOLUME ["/opt/bacula/etc","/etc/baculum"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[Date] | ||
date.timezone = Etc/UTC ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,6 +124,7 @@ FileSet { | |
# | ||
File = /opt/bacula/bin | ||
File = /opt/bacula | ||
File = /opt/bacula/etc | ||
} | ||
|
||
# | ||
|