Add Dockerfile
This commit is contained in:
parent
1b95abb89f
commit
727056daed
2 changed files with 16 additions and 0 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
source
|
||||||
|
logs
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
FROM alpine:3.18.2
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
RUN apk --no-cache add btrfs-progs openssh borgbackup bash coreutils
|
||||||
|
|
||||||
|
COPY id_rsa /id_rsa
|
||||||
|
COPY ssh_config /etc/ssh/
|
||||||
|
COPY src /src
|
||||||
|
COPY exclude.conf /exclude.conf
|
||||||
|
|
||||||
|
ENTRYPOINT ["sh", "-c", "/src/schedule.sh"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue