Add initial Dockerfile

This commit is contained in:
LordMathis 2024-02-12 22:02:34 +01:00
parent 46ac34170b
commit 1b9190928c
2 changed files with 49 additions and 1 deletions

48
Dockerfile Normal file
View File

@ -0,0 +1,48 @@
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

View File

@ -1,3 +1,3 @@
# act-runner
Container image used in Gitea Actions
Container image used in Gitea Actions on my cluster