From f5dde466545be9aa6c64e1dac574ce72e4a74dfa Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 23 Nov 2022 20:48:00 +0800 Subject: Fix coscli. v1.0 --- docker/auto-backup/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docker/auto-backup') diff --git a/docker/auto-backup/Dockerfile b/docker/auto-backup/Dockerfile index 7bf4b2d..51cbfa9 100644 --- a/docker/auto-backup/Dockerfile +++ b/docker/auto-backup/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:latest -RUN apk add --no-cache coreutils bash tar xz python3 +RUN apk add --no-cache build-base coreutils bash tar xz python3 ARG CRUPEST_AUTO_BACKUP_INIT_DELAY=0 ARG CRUPEST_AUTO_BACKUP_INTERVAL=1d ARG CRUPEST_AUTO_BACKUP_COS_SECRET_ID @@ -17,7 +17,8 @@ RUN python3 -m ensurepip && \ rm -r /usr/lib/python*/ensurepip && \ pip3 install --upgrade pip setuptools && \ pip3 install coscmd && \ - rm -r /root/.cache + rm -r /root/.cache && \ + coscmd --version COPY daemon.bash /daemon.bash VOLUME [ "/data" ] STOPSIGNAL SIGINT -- cgit v1.2.3