48 lines
1.3 KiB
Docker
48 lines
1.3 KiB
Docker
FROM ubuntu:22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Install dependencies
|
|
RUN apt-get -yq update
|
|
RUN apt-get -yq install --no-install-recommends --no-install-suggests \
|
|
wget \
|
|
curl \
|
|
git \
|
|
build-essential \
|
|
ssh \
|
|
gawk \
|
|
jq \
|
|
sudo \
|
|
gnupg-agent \
|
|
ca-certificates \
|
|
software-properties-common \
|
|
apt-transport-https \
|
|
libyaml-0-2 \
|
|
zstd \
|
|
zip \
|
|
unzip \
|
|
python3 \
|
|
python3-pip
|
|
|
|
RUN ln -s "$(which python3)" "/usr/local/bin/python"
|
|
|
|
# Install docker
|
|
RUN curl -fsSL https://get.docker.com -o get-docker.sh
|
|
RUN sh get-docker.sh
|
|
|
|
# # Install kubectl
|
|
# RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
|
# RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
|
|
|
# # Install helm
|
|
# RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
|
# RUN sh get_helm.sh
|
|
|
|
# # Install sops
|
|
# RUN wget https://github.com/mozilla/sops/releases/download/v3.7.3/sops-v3.7.3.linux
|
|
# RUN chmod +x sops-v3.7.3.linux
|
|
# RUN mv sops-v3.7.3.linux /usr/local/bin/sops
|
|
|
|
# Install node 18
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
|
RUN apt-get -yq install --no-install-recommends --no-install-suggests nodejs |