diff --git a/.profile b/.profile new file mode 100644 index 0000000..4f88246 --- /dev/null +++ b/.profile @@ -0,0 +1,3 @@ +#!/bin/sh + +cat /opt/README.md diff --git a/Dockerfile b/Dockerfile index 6002168..e430dd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ -FROM frolvlad/alpine-glibc:alpine-3.12 +FROM --platform=linux/amd64 alpine:3.20.3 WORKDIR /opt/ -RUN apk add --no-cache curl bind-tools jq groff && \ - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ - unzip awscliv2.zip && \ - ./aws/install && \ - wget https://github.com/ktr0731/evans/releases/download/0.9.0/evans_linux_amd64.tar.gz && \ +ENV ENV="/root/.profile" +RUN apk add --no-cache curl bind-tools jq yq hey aws-cli && \ + wget https://github.com/ktr0731/evans/releases/download/v0.10.11/evans_linux_amd64.tar.gz && \ tar -xvf evans_linux_amd64.tar.gz && \ mv ./evans /bin/ && \ - wget https://github.com/bojand/ghz/releases/download/v0.107.0-pre.3/ghz-linux-x86_64.tar.gz && \ + wget https://github.com/bojand/ghz/releases/download/v0.120.0/ghz-linux-x86_64.tar.gz && \ tar -xvf ghz-linux-x86_64.tar.gz && \ mv ./ghz /bin/ && \ - rm -rf ./aws/ awscliv2.zip evans_linux_amd64.tar.gz ghz-linux-x86_64.tar.gz + rm -rf evans_linux_amd64.tar.gz ghz-linux-x86_64.tar.gz LICENSE ghz-web +COPY .profile /root/.profile COPY ./proto/ ./proto/ +COPY README.md . diff --git a/README.md b/README.md index 33f5c3d..646e9db 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,14 @@ Use it from docker hub https://hub.docker.com/repository/docker/smirl/tools ## Included tools -- `curl` -- `bind-tools` - (`dig`, etc.) -- [`jq`](https://stedolan.github.io/jq/) +- [`awscli`](https://aws.amazon.com/cli/) - [`evans`](https://github.com/ktr0731/evans) - [`ghz`](https://ghz.sh/) -- [`awscli`](https://aws.amazon.com/cli/) +- [`hey`](https://github.com/rakyll/hey) +- [`jq`](https://stedolan.github.io/jq/) +- [`yq`](https://github.com/mikefarah/yq) +- `bind-tools` - (`dig`, etc.) +- `curl` ## Included proto files