From b63d0b762e8fb836318b06e030688e094c9d51da Mon Sep 17 00:00:00 2001 From: Valentin Date: Mon, 9 Oct 2023 19:31:06 +0200 Subject: [PATCH] Add age tools and mongo_manage.sh script --- docker/mongotools/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/mongotools/Dockerfile b/docker/mongotools/Dockerfile index 9f6a8178c..f0d9fc3a2 100644 --- a/docker/mongotools/Dockerfile +++ b/docker/mongotools/Dockerfile @@ -15,3 +15,10 @@ WORKDIR $WDIR/bin ENV SOPS_VER=v3.8.0 RUN curl -ksLO https://github.com/getsops/sops/releases/download/${SOPS_VER}/sops-${SOPS_VER}.linux.amd64 RUN mv sops-${SOPS_VER}.linux.amd64 sops && chmod +x sops +# download age tool +ENV AGE_VER=v1.1.1 +RUN curl -ksLO https://github.com/FiloSottile/age/releases/download/v1.1.1/age-${AGE_VER}-linux-amd64.tar.gz +RUN tar xfz age-${AGE_VER}-linux-amd64.tar.gz +RUN mv age agetools && mv agetools/age . && mv agetools/age-keygen . && rm -rf age-${AGE_VER}-linux-amd64.tar.gz agetools +# download mongo_manage.sh script +RUN curl -ksLO https://gist.githubusercontent.com/vkuznet/718e35f3782da467b1f86a82616b7ce4/raw/7f00f0d7dbf48e48d59d6cd706819ac69375e83e/mongo_manage.sh && chmod +x mongo_manage.sh