Skip to content

Commit

Permalink
Remove some extra packages
Browse files Browse the repository at this point in the history
  • Loading branch information
php1301 committed Jul 31, 2024
1 parent da2cb4c commit f427b80
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions actions-runner/2.317.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,22 @@ RUN mkdir /opt/hostedtoolcache \
RUN wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_${TARGETARCH_1} && \
chmod +x /usr/local/bin/yq

# helm
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
chmod +x get_helm.sh && \
./get_helm.sh

# kubectl
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${TARGETARCH_1}/kubectl" && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/kubectl

# kustomize
ARG KUSTOMIZE_VER="v5.1.1"
RUN curl --location --remote-name "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VER}/kustomize_${KUSTOMIZE_VER}_linux_${TARGETARCH_1}.tar.gz" && \
tar -xvf kustomize_${KUSTOMIZE_VER}_linux_${TARGETARCH_1}.tar.gz && \
chmod a+x kustomize && \
mv kustomize /usr/local/bin/kustomize
# # helm
# RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
# chmod +x get_helm.sh && \
# ./get_helm.sh

# # kubectl
# RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${TARGETARCH_1}/kubectl" && \
# chmod +x ./kubectl && \
# mv ./kubectl /usr/local/bin/kubectl

# # kustomize
# ARG KUSTOMIZE_VER="v5.1.1"
# RUN curl --location --remote-name "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VER}/kustomize_${KUSTOMIZE_VER}_linux_${TARGETARCH_1}.tar.gz" && \
# tar -xvf kustomize_${KUSTOMIZE_VER}_linux_${TARGETARCH_1}.tar.gz && \
# chmod a+x kustomize && \
# mv kustomize /usr/local/bin/kustomize


# security stuffs - disable due to missing some important commands
Expand Down

0 comments on commit f427b80

Please sign in to comment.