initial commit

This commit is contained in:
FloatingGhost 2022-07-27 19:40:29 +01:00
commit 17aa00de05
2 changed files with 12 additions and 0 deletions

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM alpine
RUN apk add wget rclone
RUN wget 'https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64'
RUN mv scaleway-cli_2.5.1_linux_amd64 /scaleway-cli
RUN chmod +x /scaleway-cli
ADD ./entrypoint.sh /entrypoint.sh
CMD /bin/sh /entrypoint.sh

4
entrypoint.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/sh
/scaleway-cli object config install type=rclone
rclone copyto $SOURCE $DEST