Skip to content

Commit e0f1879

Browse files
Add cronjob to all containers
1 parent cead8d7 commit e0f1879

File tree

9 files changed

+9
-4
lines changed

9 files changed

+9
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ Each image contains the following utilities along with the database client:
1919
- `openssl` and `gpg` - Encrypt and decrypt files
2020
- `rsync` - Synchronize files and directories between two locations
2121
- `rclone` - https://rclone.org/ - Sync files and directories to and from cloud storage providers
22+
- `cron` - Schedule tasks to run at specific intervals

backup/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG TARGETARCH
44

55
# Install common utils
66
RUN apt-get -y update && \
7-
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg ca-certificates lsb-release
7+
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg cron ca-certificates lsb-release
88

99
# Install rclone
1010
RUN curl -sSL https://downloads.rclone.org/rclone-current-linux-$TARGETARCH.zip -o rclone.zip && \

backup/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ A Docker image containing common backup and file transfer utilities for use in b
99
- `openssl` and `gpg` - Encrypt and decrypt files
1010
- `rsync` - Synchronize files and directories between two locations
1111
- `rclone` - https://rclone.org/ - Sync files and directories to and from cloud storage providers
12+
- `cron` - Schedule tasks to run at specific intervals
1213

1314
This image is intended to be used as a base image for running scripts and as such is deployed in both Ubuntu (Default) and Alpine distro variants.

mariadb/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG TARGETARCH
44

55
# Install common utils and add mariadb utils
66
RUN apt-get -y update && \
7-
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg ca-certificates lsb-release mariadb-client
7+
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg cron ca-certificates lsb-release mariadb-client
88

99
# Install rclone
1010
RUN curl -sSL https://downloads.rclone.org/rclone-current-linux-$TARGETARCH.zip -o rclone.zip && \

mariadb/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ The image also includes common file transfer utilities to allow use of this imag
1818
- `openssl` and `gpg` - Encrypt and decrypt files
1919
- `rsync` - Synchronize files and directories between two locations
2020
- `rclone` - https://rclone.org/ - Sync files and directories to and from cloud storage providers
21+
- `cron` - Schedule tasks to run at specific intervals
2122

2223
This image is intended to be used as a base image for running MariaDB scripts and as such is deployed in both Ubuntu (Default) and Alpine distro variants.

mongodb/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG TARGETARCH
44

55
# Install common utils and MongoDB
66
RUN apt-get -y update && \
7-
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg ca-certificates lsb-release && \
7+
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg cron ca-certificates lsb-release && \
88
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor && \
99
echo "deb [ arch=$TARGETARCH signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/8.0 multiverse" > /etc/apt/sources.list.d/mongodb-org-8.0.list && \
1010
apt-get -y update && \

mongodb/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ The image also includes common file transfer utilities to allow use of this imag
2121
- `openssl` and `gpg` - Encrypt and decrypt files
2222
- `rsync` - Synchronize files and directories between two locations
2323
- `rclone` - https://rclone.org/ - Sync files and directories to and from cloud storage providers
24+
- `cron` - Schedule tasks to run at specific intervals
2425

2526
This image is intended to be used as a base image for running MongoDB scripts and as such is deployed in both Ubuntu (Default) and Alpine distro variants.

postgres/Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG TARGETARCH
55

66
# Install common utils and add PostgreSQL repository
77
RUN apt-get -y update && \
8-
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg ca-certificates lsb-release && \
8+
apt-get -y install zip gzip xz-utils curl wget rsync openssl gpg cron ca-certificates lsb-release && \
99
install -d /usr/share/postgresql-common/pgdg && \
1010
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc && \
1111
sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

postgres/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The image also includes common file transfer utilities to allow use of this imag
2020
- `openssl` and `gpg` - Encrypt and decrypt files
2121
- `rsync` - Synchronize files and directories between two locations
2222
- `rclone` - https://rclone.org/ - Sync files and directories to and from cloud storage providers
23+
- `cron` - Schedule tasks to run at specific intervals
2324

2425
This image is intended to be used as a base image for running PostgreSQL scripts and as such is deployed in both Ubuntu (Default) and Alpine distro variants with all major supported versions:
2526

0 commit comments

Comments
 (0)