Ubuntu 24.04 image with Git, OpenVPN, SSH, curl, kubectl, and Helm pre-installed.
487
/app set as default working directory# Use Ubuntu 24.04 as base
FROM ubuntu:24.04
# Set environment variables to avoid prompts
ENV DEBIAN_FRONTEND=noninteractive \
KUBECTL_VERSION=v1.34.1 \
HELM_VERSION=v3.19.0
# Update and install necessary tools
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
openvpn \
openssh-client \
curl \
ca-certificates \
gnupg \
lsb-release \
&& rm -rf /var/lib/apt/lists/*
# Install kubectl
RUN curl -fsSL -o /usr/local/bin/kubectl \
"https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \
&& chmod +x /usr/local/bin/kubectl
# Install Helm
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 \
&& chmod +x get_helm.sh \
&& ./get_helm.sh --version ${HELM_VERSION} \
&& rm get_helm.sh
# Set default workdir
WORKDIR /app
# Default command
CMD [ "bash" ]
Content type
Image
Digest
sha256:4729dc48f…
Size
93.5 MB
Last updated
about 1 year ago
docker pull taufiq14s/devops-utils