feat: open repo on entry
This commit is contained in:
parent
d355a06c10
commit
e8902aded4
2 changed files with 7 additions and 1 deletions
|
@ -2,4 +2,4 @@ FROM kopia/kopia
|
||||||
|
|
||||||
ADD entrypoint.sh /
|
ADD entrypoint.sh /
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "sh /entrypoint.sh" ]
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
kopia --version
|
kopia --version
|
||||||
|
|
||||||
|
kopia repository connect filesystem \
|
||||||
|
--path /repository \
|
||||||
|
--override-hostname ${KOPIA_HOSTNAME} \
|
||||||
|
--override-username ${KOPIA_USERNAME}
|
||||||
|
|
||||||
sleep infinity
|
sleep infinity
|
||||||
|
|
Loading…
Reference in a new issue