Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump alpine and tools #704

Merged
merged 2 commits into from
Jan 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
FROM alpine:3.19
FROM alpine:3.21

RUN apk --no-cache add \
bash \
curl>7.77.0-r0 \
curl \
git \
libc6-compat \
openssh-client \
py3-pip \
py3-wheel \
python3 \
yamllint=1.33.0-r0
yamllint=1.35.1-r1

cpanato marked this conversation as resolved.
Show resolved Hide resolved
# Install Yamale YAML schema validator
ARG yamale_version=4.0.4
ARG yamale_version=6.0.0
LABEL yamale-version=$yamale_version
RUN pip install --break-system-packages "yamale==$yamale_version"

ARG TARGETPLATFORM
# Install kubectl
ARG kubectl_version=v1.30.0
ARG kubectl_version=v1.32.0
LABEL kubectl-version=$kubectl_version
RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$kubectl_version/bin/$TARGETPLATFORM/kubectl" && \
chmod +x kubectl && \
mv kubectl /usr/local/bin/
RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \
&& if [ ${targetArch} = "amd64" ]; then \
HELM_ARCH="linux/amd64"; \
elif [ ${targetArch} = "arm64" ]; then \
HELM_ARCH="linux/arm64"; \
fi \
&& curl -LO "dl.k8s.io/$kubectl_version/bin/$HELM_ARCH/kubectl" \
&& chmod +x kubectl \
&& mv kubectl /usr/local/bin/

# Install Helm
ARG helm_version=v3.14.4
ARG helm_version=v3.16.4
LABEL helm-version=$helm_version
RUN targetArch=$(echo $TARGETPLATFORM | cut -f2 -d '/') \
&& if [ ${targetArch} = "amd64" ]; then \
Expand Down
Loading