feat: open repo on entry

main
mandlm 2023-08-17 10:47:34 +02:00
parent d355a06c10
commit e8902aded4
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 7 additions and 1 deletions

View File

@ -2,4 +2,4 @@ FROM kopia/kopia
ADD entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "sh /entrypoint.sh" ]

View File

@ -1,4 +1,10 @@
#!/bin/sh
kopia --version
kopia repository connect filesystem \
--path /repository \
--override-hostname ${KOPIA_HOSTNAME} \
--override-username ${KOPIA_USERNAME}
sleep infinity