initial commit
This commit is contained in:
commit
17aa00de05
2 changed files with 12 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal 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
4
entrypoint.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
/scaleway-cli object config install type=rclone
|
||||
rclone copyto $SOURCE $DEST
|
Loading…
Reference in a new issue