Skip to content

Commit

Permalink
updated minio and postgres clients
Browse files Browse the repository at this point in the history
  • Loading branch information
unixime committed Dec 4, 2024
1 parent d7d5d18 commit e5a659a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:3.20.3
RUN apk update \
&& apk upgrade \
&& apk add --no-cache \
postgresql16-client=16.5-r0 \
postgresql16-client=16.6-r0 \
yq-go=4.44.1-r2 \
jq=1.7.1-r0 \
curl=8.11.0-r2 \
Expand All @@ -15,14 +15,18 @@ RUN wget -O- -q https://github.com/mrako/wait-for/releases/download/v1.0.0/wait-
--output-document=/usr/local/bin/wait-for-1.0.0 \
&& wget https://dl.k8s.io/release/v1.31.2/bin/linux/amd64/kubectl \
--output-document=/usr/local/bin/kubectl-v1.31.2 \
&& wget https://dl.min.io/client/mc/release/linux-amd64/mc.RELEASE.2024-11-05T11-29-45Z \
--output-document=/usr/local/bin/mc.RELEASE.2024-11-05T11-29-45Z \
&& wget https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.2024-11-17T19-35-25Z \
--output-document=/usr/local/bin/mc.RELEASE.2024-11-17T19-35-25Z \
&& chmod +x /usr/local/bin/wait-for-1.0.0 \
&& ln -s /usr/local/bin/wait-for-1.0.0 /usr/local/bin/wait-for \
&& chmod +x /usr/local/bin/kubectl-v1.31.2 \
&& ln -s /usr/local/bin/kubectl-v1.31.2 /usr/local/bin/kubectl \
&& chmod +x /usr/local/bin/mc.RELEASE.2024-11-05T11-29-45Z \
&& ln -s /usr/local/bin/mc.RELEASE.2024-11-05T11-29-45Z /usr/local/bin/mc
&& chmod +x /usr/local/bin/mc.RELEASE.2024-11-17T19-35-25Z \
&& ln -s /usr/local/bin/mc.RELEASE.2024-11-17T19-35-25Z /usr/local/bin/mc \
&& mkdir -p /etc/mc \
&& chown -R 1001:1001 /etc/mc/

ENV MC_CONFIG_DIR="/etc/mc"

USER 1001:1001

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# shell-tools

Collection of tools useful for test/troubleshooting


## Packages

| Tool | Version | Origin |
|---|---|---|
| `PostgreSQL 16 Client` | 16.5-r0 | Package Manager |
| `PostgreSQL 16 Client` | 16.6-r0 | Package Manager |
| `jq` | 1.7.1-r0 | Package Manager |
| `yq-go` | 4.44.1-r2 | Package Manager |
| `curl` | 8.11.0-r2 | Package Manager |
Expand Down

0 comments on commit e5a659a

Please sign in to comment.