feat: add psql, redis-cli, helm, k9s to devpod image
This commit is contained in:
@@ -8,6 +8,7 @@ ENV PATH="/root/.bun/bin:$PATH"
|
|||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
curl wget git openssh-server ca-certificates gnupg \
|
curl wget git openssh-server ca-certificates gnupg \
|
||||||
build-essential unzip jq tmux zsh ripgrep \
|
build-essential unzip jq tmux zsh ripgrep \
|
||||||
|
postgresql-client redis-tools \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Bun
|
# Bun
|
||||||
@@ -27,6 +28,13 @@ RUN curl -fsSL "https://dl.k8s.io/release/$(curl -fsSL https://dl.k8s.io/release
|
|||||||
RUN curl -fsSL https://github.com/digitalocean/doctl/releases/download/v1.119.0/doctl-1.119.0-linux-amd64.tar.gz \
|
RUN curl -fsSL https://github.com/digitalocean/doctl/releases/download/v1.119.0/doctl-1.119.0-linux-amd64.tar.gz \
|
||||||
| tar xz -C /usr/local/bin
|
| tar xz -C /usr/local/bin
|
||||||
|
|
||||||
|
# helm
|
||||||
|
RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
|
|
||||||
|
# k9s
|
||||||
|
RUN curl -fsSL https://github.com/derailed/k9s/releases/latest/download/k9s_Linux_amd64.tar.gz \
|
||||||
|
| tar xz -C /usr/local/bin k9s
|
||||||
|
|
||||||
# SSH setup — host keys generated at runtime via entrypoint
|
# SSH setup — host keys generated at runtime via entrypoint
|
||||||
RUN mkdir -p /run/sshd /root/.ssh && chmod 700 /root/.ssh
|
RUN mkdir -p /run/sshd /root/.ssh && chmod 700 /root/.ssh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user