aboutsummaryrefslogtreecommitdiff
path: root/app/backup/build/backup-matrix/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-04-14 17:50:17 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-04-14 17:50:17 +0200
commit9701b863fd2703450abe19eda0940ee2faf1ec15 (patch)
tree5c00a681c9e7c6be14a4a78d1e77d32f19d07e0c /app/backup/build/backup-matrix/Dockerfile
parent1183583fdf0a7b054b7da769bd92d53186ace3fe (diff)
downloadinfrastructure-9701b863fd2703450abe19eda0940ee2faf1ec15.tar.gz
infrastructure-9701b863fd2703450abe19eda0940ee2faf1ec15.zip
Create a backup script
Diffstat (limited to 'app/backup/build/backup-matrix/Dockerfile')
-rw-r--r--app/backup/build/backup-matrix/Dockerfile22
1 files changed, 0 insertions, 22 deletions
diff --git a/app/backup/build/backup-matrix/Dockerfile b/app/backup/build/backup-matrix/Dockerfile
deleted file mode 100644
index 34b6040..0000000
--- a/app/backup/build/backup-matrix/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-FROM golang:buster as builder
-
-WORKDIR /root
-RUN git clone https://filippo.io/age && cd age/cmd/age && go build -o age .
-
-FROM amd64/debian:buster
-
-COPY --from=builder /root/age/cmd/age/age /usr/local/bin/age
-
-RUN apt-get update && \
- apt-get -qq -y full-upgrade && \
- apt-get install -y rsync wget openssh-client postgresql-client && \
- apt-get clean && \
- rm -f /var/lib/apt/lists/*_*
-
-RUN mkdir -p /root/.ssh
-WORKDIR /root
-
-COPY do_backup.sh /root/do_backup.sh
-
-CMD "/root/do_backup.sh"
-