Files
pipeline-actions/images/slim/Dockerfile
Jose Henrique dd95efc1a1
All checks were successful
Build and Push Runner Images / Build Slim Runner Image (push) Successful in 1m3s
Build and Push Runner Images / Build Full Runner Image (push) Successful in 5m15s
modifying the images
2026-07-13 21:54:44 -03:00

30 lines
674 B
Docker

FROM alpine:3.20
ARG TARGETARCH
# Install required packages
RUN apk add --no-cache \
bash \
curl \
wget \
git \
openssh-client \
ca-certificates \
tar \
gzip \
nodejs \
docker-cli \
docker-cli-buildx \
docker-cli-compose \
&& docker --version \
&& docker buildx version \
&& docker compose version
# 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"]