From 0ba97ee17e16455c9cefb7019161b08ab4dcc136 Mon Sep 17 00:00:00 2001 From: Alexander Goussas Date: Fri, 31 Oct 2025 18:56:44 -0500 Subject: [PATCH] feat: add dockerfile for cli tool to manage squad members --- cli/Dockerfile | 14 ++++++++++++++ {scripts => cli}/cli.sh | 0 2 files changed, 14 insertions(+) create mode 100644 cli/Dockerfile rename {scripts => cli}/cli.sh (100%) diff --git a/cli/Dockerfile b/cli/Dockerfile new file mode 100644 index 0000000..6266de8 --- /dev/null +++ b/cli/Dockerfile @@ -0,0 +1,14 @@ +FROM ubuntu:22.04 + +WORKDIR /app + +RUN apt-get update && apt-get install curl gnupg jq -y + +RUN mkdir -p /etc/apt/keyrings && \ + curl -fsSL https://repo.charm.sh/apt/gpg.key | gpg --dearmor -o /etc/apt/keyrings/charm.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | tee /etc/apt/sources.list.d/charm.list && \ + apt update && apt install gum + +COPY ./cli.sh /app/cli.sh + +CMD /app/cli.sh diff --git a/scripts/cli.sh b/cli/cli.sh similarity index 100% rename from scripts/cli.sh rename to cli/cli.sh -- 2.43.0