Remove redundant stuff from entrypoint
This commit is contained in:
parent
cf06532da9
commit
ed687e52c3
2
abra.sh
2
abra.sh
|
@ -1,3 +1,3 @@
|
||||||
export ENTRYPOINT_VERSION=v1
|
export ENTRYPOINT_VERSION=v2
|
||||||
export BACKUPBOT_VERSION=v1
|
export BACKUPBOT_VERSION=v1
|
||||||
export SSH_CONFIG_VERSION=v1
|
export SSH_CONFIG_VERSION=v1
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
|
|
||||||
apk add --upgrade --no-cache restic bash python3 py3-pip
|
|
||||||
|
|
||||||
# Todo use requirements file with specific versions
|
|
||||||
pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2
|
|
||||||
|
|
||||||
if [ -n "$SSH_HOST_KEY" ]
|
if [ -n "$SSH_HOST_KEY" ]
|
||||||
then
|
then
|
||||||
echo "$SSH_HOST_KEY" > /root/.ssh/known_hosts
|
echo "$SSH_HOST_KEY" > /root/.ssh/known_hosts
|
||||||
|
|
Loading…
Reference in New Issue