aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-02-15 00:50:19 -0800
committerMax Resnick <max@ofmax.li>2025-02-15 22:38:46 -0800
commit3bc28bb9df715976e8b30e561ccf0553ceed860a (patch)
tree867b3c49f58fa23de2866483387b8d3705cf6172
parent88c32894f2b1389da93555448dc12199f602fb53 (diff)
downloadgrumpy-containers-3bc28bb9df715976e8b30e561ccf0553ceed860a.tar.gz
feat: add rclone image
-rw-r--r--src/rclone/Dockerfile10
-rw-r--r--src/rclone/VERSION1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/rclone/Dockerfile b/src/rclone/Dockerfile
new file mode 100644
index 0000000..c703759
--- /dev/null
+++ b/src/rclone/Dockerfile
@@ -0,0 +1,10 @@
+ARG BASE_VER=latest
+FROM public.ecr.aws/s0f9o2k5/base:${BASE_VER} AS build
+SHELL ["/bin/bash", "-c"]
+RUN install_deb curl ca-certificates unzip \
+ && curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip \
+ && unzip rclone-current-linux-amd64.zip \
+ && cp rclone-*-linux-amd64/rclone /usr/local/bin/rclone
+ARG BASE_VER=latest
+FROM public.ecr.aws/s0f9o2k5/base:${BASE_VER}
+COPY --from=build /usr/local/bin/rclone /usr/local/bin/rclone
diff --git a/src/rclone/VERSION b/src/rclone/VERSION
new file mode 100644
index 0000000..5c314e5
--- /dev/null
+++ b/src/rclone/VERSION
@@ -0,0 +1 @@
+v0.0.5