inventory of borg backups
This commit is contained in:
11
apps/backup/Dockerfile
Normal file
11
apps/backup/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM dagster-code-backup-base
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends --yes \
|
||||
borgbackup openssh-client \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh/
|
||||
COPY --chmod=0600 id_rsa /root/.ssh/
|
||||
ADD --chmod=0600 ssh_config /root/.ssh/config
|
||||
Reference in New Issue
Block a user