|
| 1 | +FROM ubuntu:noble-20240904.1 |
| 2 | + |
| 3 | +ENV DEBIAN_FRONTEND=noninteractive |
| 4 | + |
| 5 | +RUN apt-get update |
| 6 | +RUN apt-get install apt-transport-https ca-certificates gnupg git wget curl lsb-release unzip -y |
| 7 | + |
| 8 | +# Postgres client (https://www.postgresql.org/download/linux/ubuntu/) |
| 9 | +RUN apt install -y postgresql-common |
| 10 | +RUN /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y |
| 11 | +RUN install -d /usr/share/postgresql-common/pgdg |
| 12 | +RUN curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc |
| 13 | +RUN sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' |
| 14 | +RUN apt-get update |
| 15 | +RUN apt-get install postgresql-client -y |
| 16 | + |
| 17 | +# Redis client |
| 18 | +RUN curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg |
| 19 | +RUN echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list |
| 20 | +RUN apt-get update |
| 21 | +RUN apt-get install redis -y |
| 22 | + |
| 23 | +# ClickHouse client |
| 24 | +RUN curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg |
| 25 | +RUN echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | tee /etc/apt/sources.list.d/clickhouse.list |
| 26 | +RUN apt-get update |
| 27 | +RUN apt-get install clickhouse-client -y |
| 28 | + |
| 29 | +# etcd client |
| 30 | +RUN wget https://github.com/etcd-io/etcd/releases/download/v3.5.5/etcd-v3.5.5-linux-amd64.tar.gz && \ |
| 31 | + tar xvf etcd-v3.5.5-linux-amd64.tar.gz && \ |
| 32 | + cd etcd-v3.5.5-linux-amd64 && \ |
| 33 | + mv etcd etcdctl etcdutl /usr/local/bin && \ |
| 34 | + rm -rf etcd-v3.5.5-linux-amd64* |
| 35 | + |
| 36 | +# AWS CLI |
| 37 | +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ |
| 38 | + unzip awscliv2.zip && \ |
| 39 | + ./aws/install && \ |
| 40 | + rm -rf awscliv2.zip aws |
| 41 | + |
| 42 | +RUN apt-get install -y \ |
| 43 | + dnsutils \ |
| 44 | + fdisk \ |
| 45 | + fio \ |
| 46 | + fping \ |
| 47 | + iputils-ping \ |
| 48 | + iproute2 \ |
| 49 | + neovim \ |
| 50 | + nodejs \ |
| 51 | + default-jre-headless \ |
| 52 | + ruby-full \ |
| 53 | + traceroute \ |
| 54 | + wrk \ |
| 55 | + zstd |
0 commit comments