adding build images
All checks were successful
Test Actions (self-test) / Test Kubernetes actions (push) Successful in 8s
Test Actions (self-test) / Build tiny multi-arch image (push) Successful in 9s
Test Actions (self-test) / Test SSH deploy action (push) Successful in 15s
Build and Push Runner Images / Build Slim Runner Image (push) Successful in 1m24s
Build and Push Runner Images / Build Full Runner Image (push) Successful in 3m51s
All checks were successful
Test Actions (self-test) / Test Kubernetes actions (push) Successful in 8s
Test Actions (self-test) / Build tiny multi-arch image (push) Successful in 9s
Test Actions (self-test) / Test SSH deploy action (push) Successful in 15s
Build and Push Runner Images / Build Slim Runner Image (push) Successful in 1m24s
Build and Push Runner Images / Build Full Runner Image (push) Successful in 3m51s
This commit is contained in:
40
images/full/Dockerfile
Normal file
40
images/full/Dockerfile
Normal file
@@ -0,0 +1,40 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
# Install base tools, Docker, and utilities
|
||||
RUN apt-get update && apt-get install -y \
|
||||
bash \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
openssh-client \
|
||||
ca-certificates \
|
||||
tar \
|
||||
gzip \
|
||||
unzip \
|
||||
zip \
|
||||
jq \
|
||||
rsync \
|
||||
gettext-base \
|
||||
make \
|
||||
build-essential \
|
||||
docker.io \
|
||||
docker-buildx \
|
||||
docker-compose-v2 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Download and install kubectl matching the target architecture
|
||||
RUN KUBE_VER=$(curl -L -s https://dl.k8s.io/release/stable.txt) && \
|
||||
curl -LO "https://dl.k8s.io/release/${KUBE_VER}/bin/linux/${TARGETARCH}/kubectl" && \
|
||||
install -m 0755 kubectl /usr/local/bin/kubectl && \
|
||||
rm kubectl
|
||||
|
||||
# Install yq (Go-based binary)
|
||||
RUN YQ_VER="v4.44.1" && \
|
||||
curl -Lo /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VER}/yq_linux_${TARGETARCH}" && \
|
||||
chmod +x /usr/local/bin/yq
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
22
images/slim/Dockerfile
Normal file
22
images/slim/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM alpine:3.20
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
# Install required packages
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
openssh-client \
|
||||
ca-certificates \
|
||||
tar \
|
||||
gzip
|
||||
|
||||
# Download and install kubectl matching the target architecture
|
||||
RUN KUBE_VER=$(curl -L -s https://dl.k8s.io/release/stable.txt) && \
|
||||
curl -LO "https://dl.k8s.io/release/${KUBE_VER}/bin/linux/${TARGETARCH}/kubectl" && \
|
||||
install -m 0755 kubectl /usr/local/bin/kubectl && \
|
||||
rm kubectl
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user