File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11FROM summerwind/actions-runner
22USER root
3- RUN apt-get update && apt-get install -y curl unzip gnupg
3+ RUN apt-get update && apt-get upgrade -y && apt-get install -y curl unzip gnupg
44RUN curl -LO "https://dl.k8s.io/release/v1.34.0/bin/linux/amd64/kubectl" \
55 && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
66RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
77RUN curl -L -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.44.1/yq_linux_amd64 \
88 && chmod +x /usr/local/bin/yq
9+
10+ # HOTFIX: Remove after summerwind/actions-runner image is updated with Docker v25+
11+ RUN DOCKER_VERSION=29.0.0 \
12+ && ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
13+ && if [ "$ARCH" = "arm64" ]; then export ARCH=aarch64 ; fi \
14+ && if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "i386" ]; then export ARCH=x86_64 ; fi \
15+ && echo https://download.docker.com/linux/static/${CHANNEL}/${ARCH}/docker-${DOCKER_VERSION}.tgz \
16+ && curl -fLo docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-29.0.0.tgz \
17+ && tar zxvf docker.tgz \
18+ && install -o root -g root -m 755 docker/docker /usr/bin/docker \
19+ && rm -rf docker docker.tgz
920USER runner
You can’t perform that action at this time.
0 commit comments