12 lines
334 B
Docker
12 lines
334 B
Docker
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
|