From 95d0ae6fd1c5f176e4031dd93bb01ee8c0a2ad91 Mon Sep 17 00:00:00 2001 From: evgenyKharitonov Date: Mon, 2 Sep 2024 11:38:04 +0300 Subject: [PATCH 1/2] add redis --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5689b33..dc61595 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,10 @@ RUN apk update && apk add \ grpcurl \ vim \ tmux \ - aws-cli + aws-cli \ + redis \ + go + +## Cilium CMD ["/bin/bash"] From 7f62498649fe1fe1cd839b9f4213cb0a68235acb Mon Sep 17 00:00:00 2001 From: evgenyKharitonov Date: Mon, 2 Sep 2024 11:51:03 +0300 Subject: [PATCH 2/2] add cilium cli --- Dockerfile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dc61595..63a9930 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM alpine:3.18.2 - +FROM alpine:3.20.2 RUN apk update && apk add \ postgresql-client \ curl \ + tar \ + coreutils \ nmap \ netcat-openbsd \ tcpdump \ @@ -20,5 +21,13 @@ RUN apk update && apk add \ go ## Cilium +RUN CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/main/stable.txt) && \ + CLI_ARCH=amd64 && \ + if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi && \ + curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz && \ + curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz.sha256sum && \ + sha256sum -c cilium-linux-${CLI_ARCH}.tar.gz.sha256sum && \ + tar xzvfC cilium-linux-${CLI_ARCH}.tar.gz /usr/local/bin && \ + rm cilium-linux-${CLI_ARCH}.tar.gz cilium-linux-${CLI_ARCH}.tar.gz.sha256sum CMD ["/bin/bash"]