diff --git a/Dockerfile b/Dockerfile index d81f31b..18126a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,31 +1,31 @@ FROM summerwind/actions-runner-dind-rootless:v2.309.0-ubuntu-20.04 SHELL ["/bin/bash", "-o", "pipefail", "-c"] -USER root +USER 0 ### INSTALL DEPENDENCIES # Go -RUN curl -sL https://go.dev/dl/go1.17.linux-amd64.tar.gz | \ +RUN curl -sL https://go.dev/dl/go1.21.1.linux-amd64.tar.gz | \ tar -C /usr/local -xzf - ENV PATH="${PATH}:/usr/local/go/bin" # Kubectl -RUN curl -sL https://dl.k8s.io/release/v1.23.4/bin/linux/amd64/kubectl > /usr/local/bin/kubectl && \ +RUN curl -sL https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl > /usr/local/bin/kubectl && \ chmod +x /usr/local/bin/kubectl # yq -RUN curl -sL https://github.com/mikefarah/yq/releases/download/v4.20.2/yq_linux_amd64.tar.gz | \ +RUN curl -sL https://github.com/mikefarah/yq/releases/download/v4.35.2/yq_linux_amd64.tar.gz | \ tar -xzf - > /usr/local/bin/yq && \ chmod +x /usr/local/bin/yq # Helm -RUN curl -sL https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz | \ +RUN curl -sL https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz | \ tar -xzf - --strip-components 1 -C /usr/local/bin linux-amd64/helm && \ chmod +x /usr/local/bin/helm # Kustomize -RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.5.2/kustomize_v4.5.2_linux_amd64.tar.gz | \ +RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.1.1/kustomize_v5.1.1_linux_amd64.tar.gz | \ tar -xzf - > /usr/local/bin/kustomize && \ chmod +x /usr/local/bin/kustomize @@ -37,13 +37,13 @@ RUN sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable rm -rf /var/lib/apt/lists/* # NodeJs -RUN curl -sL https://nodejs.org/dist/v16.15.0/node-v16.15.0-linux-x64.tar.xz | \ +RUN curl -sL https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-x64.tar.xz | \ tar -C /usr/local/lib -Jxf - -ENV PATH="${PATH}:/usr/local/lib/node-v16.15.0-linux-x64/bin" +ENV PATH="${PATH}:/usr/local/lib/node-v18.18.0-linux-x64/bin" # Yarn RUN npm i -g yarn && \ # Set env for all users sed -i 's@PATH=.*@PATH='"${PATH}"'@g' /etc/environment -USER runner +USER 1000