feat: open repo on entry
parent
d355a06c10
commit
e8902aded4
|
@ -2,4 +2,4 @@ FROM kopia/kopia
|
|||
|
||||
ADD entrypoint.sh /
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
ENTRYPOINT [ "sh /entrypoint.sh" ]
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
kopia --version
|
||||
|
||||
kopia repository connect filesystem \
|
||||
--path /repository \
|
||||
--override-hostname ${KOPIA_HOSTNAME} \
|
||||
--override-username ${KOPIA_USERNAME}
|
||||
|
||||
sleep infinity
|
||||
|
|
Loading…
Reference in New Issue