feat: open repo on entry
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user