Some checks failed
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-full-amd64) (push) Failing after 2s
Test Actions (self-test) / AMD64 - Build tiny multi-arch image (runner-slim-amd64) (push) Failing after 4s
Test Actions (self-test) / AMD64 - Test Kubernetes actions (runner-full-amd64) (push) Failing after 2s
Test Actions (self-test) / AMD64 - Test SSH deploy action (runner-full-amd64) (push) Failing after 1s
Build and Push Runner Images / Build Full Runner Image (push) Successful in 10s
Test Actions (self-test) / AMD64 - Test Kubernetes actions (runner-slim-amd64) (push) Successful in 6s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-full-arm64) (push) Failing after 23s
Test Actions (self-test) / ARM64 - Test Kubernetes actions (runner-full-arm64) (push) Failing after 26s
Build and Push Runner Images / Build Slim Runner Image (push) Successful in 29s
Test Actions (self-test) / ARM64 - Test SSH deploy action (runner-full-arm64) (push) Failing after 25s
Test Actions (self-test) / ARM64 - Build tiny multi-arch image (runner-slim-arm64) (push) Failing after 48s
Test Actions (self-test) / ARM64 - Test SSH deploy action (runner-slim-arm64) (push) Failing after 25s
Test Actions (self-test) / ARM64 - Test Kubernetes actions (runner-slim-arm64) (push) Failing after 1m0s
Test Actions (self-test) / AMD64 - Test SSH deploy action (runner-slim-amd64) (push) Failing after 7m7s
25 lines
536 B
Docker
25 lines
536 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
|
|
|
|
# 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"]
|