feat: open repo on entry

This commit is contained in:
Michael Mandl 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