Skip to content

Commit

Permalink
k9s
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Jan 9, 2025
1 parent 2ada147 commit e379b5a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ENV AWS_CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \
GCLOUD_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz" \
GCR_CLEANER_URL="https://github.com/GoogleCloudPlatform/gcr-cleaner/releases/download/v${GCR_CLEANER_VERSION}/gcr-cleaner-cli_${GCR_CLEANER_VERSION}_linux_amd64.tar.gz" \
HCLOUD_URL="https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz" \
K9S_URL="https://github.com/derailed/k9s/releases/latest/download/k9s_linux_amd64.deb" \
OPA_URL="https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_amd64_static" \
TERRAGRUNT_URL="https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64" \
TFDOC_URL="https://github.com/terraform-docs/terraform-docs/releases/download/v${TFDOC_VERSION}/terraform-docs-v${TFDOC_VERSION}-linux-amd64.tar.gz" \
Expand All @@ -61,6 +62,7 @@ ENV AWS_CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" \
GCLOUD_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-arm.tar.gz" \
GCR_CLEANER_URL="https://github.com/GoogleCloudPlatform/gcr-cleaner/releases/download/v${GCR_CLEANER_VERSION}/gcr-cleaner-cli_${GCR_CLEANER_VERSION}_linux_arm64.tar.gz" \
HCLOUD_URL="https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-arm64.tar.gz" \
K9S_URL="https://github.com/derailed/k9s/releases/latest/download/k9s_linux_arm64.deb" \
OPA_URL="https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_arm64_static" \
TERRAGRUNT_URL="https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_arm64" \
TFDOC_URL="https://github.com/terraform-docs/terraform-docs/releases/download/v${TFDOC_VERSION}/terraform-docs-v${TFDOC_VERSION}-linux-arm64.tar.gz" \
Expand Down Expand Up @@ -178,6 +180,10 @@ RUN uname -m && \
tar -xf "hcloud-linux.tar.gz" "hcloud" && \
mv "hcloud" "/usr/bin/hcloud" && \
rm "hcloud-linux.tar.gz" && \
# K9s https://k9scli.io/
curl -L "$K9S_URL" -o "k9s_linux.deb" && \
apt-get install -yqq "k9s_linux.deb" && \
rm "k9s_linux.deb" && \
# terraform-docs (https://github.com/terraform-docs/terraform-docs)
curl -L "$TFDOC_URL" -o "terraform-docs.tar.gz" && \
tar -xf "terraform-docs.tar.gz" "terraform-docs" && \
Expand Down Expand Up @@ -246,6 +252,7 @@ RUN uname -m && \
hcloud version && \
helm version && \
jq --version && \
k9s version && \
kubectl version --client && \
lsb_release -a && \
mutt -v && \
Expand Down
6 changes: 6 additions & 0 deletions workstations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ENV AWS_CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \
FUEGO_URL="https://github.com/sgarciac/fuego/archive/refs/tags/${FUEGO_VERSION}.tar.gz" \
GCR_CLEANER_URL="https://github.com/GoogleCloudPlatform/gcr-cleaner/releases/download/v${GCR_CLEANER_VERSION}/gcr-cleaner-cli_${GCR_CLEANER_VERSION}_linux_amd64.tar.gz" \
HCLOUD_URL="https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz" \
K9S_URL="https://github.com/derailed/k9s/releases/latest/download/k9s_linux_amd64.deb" \
OPA_URL="https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_amd64_static" \
TERRAGRUNT_URL="https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64" \
TFDOC_URL="https://github.com/terraform-docs/terraform-docs/releases/download/v${TFDOC_VERSION}/terraform-docs-v${TFDOC_VERSION}-linux-amd64.tar.gz" \
Expand Down Expand Up @@ -152,6 +153,10 @@ RUN uname -m && \
tar -xf "hcloud-linux.tar.gz" "hcloud" && \
mv "hcloud" "/usr/bin/hcloud" && \
rm "hcloud-linux.tar.gz" && \
# K9s https://k9scli.io/
curl -L "$K9S_URL" -o "k9s_linux.deb" && \
apt-get install -yqq "k9s_linux.deb" && \
rm "k9s_linux.deb" && \
# terraform-docs (https://github.com/terraform-docs/terraform-docs)
curl -L "$TFDOC_URL" -o "terraform-docs.tar.gz" && \
tar -xf "terraform-docs.tar.gz" "terraform-docs" && \
Expand Down Expand Up @@ -238,6 +243,7 @@ RUN uname -m && \
hcloud version && \
helm version && \
jq --version && \
k9s version && \
kubectl version --client && \
lsb_release -a && \
mutt -v && \
Expand Down

0 comments on commit e379b5a

Please sign in to comment.