-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install a version using musl instead of glibc
- Loading branch information
Showing
4 changed files
with
8 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM python:3.8-alpine3.16 | ||
FROM python:3.8-alpine3.20 | ||
LABEL maintainer="[email protected]" | ||
ARG TARGETARCH | ||
|
||
ENV KUBECTL_DEFAULT_RELEASE=1.22.17 | ||
ENV KUBECTL_RELEASES="${KUBECTL_DEFAULT_RELEASE} 1.26.12 1.27.9 1.28.5 1.29.0" | ||
ENV AWS_CLI_VERSION=2.15.22 | ||
ENV AWS_CLI_VERSION=2.15.57 | ||
ENV AWS_AIM_AUTHENTICATOR_VERSION=0.6.14 | ||
ENV GOOGLE_CLOUD_SDK_VERSION=476.0.0 | ||
ENV ECR_TOKEN_VERSION=v1.0.2 | ||
Check warning on line 10 in Dockerfile.java11.slim GitHub Actions / buildSensitive data should not be used in the ARG or ENV commands
|
||
|
@@ -24,14 +24,7 @@ RUN apk update \ | |
unzip | ||
|
||
# AWS CLI 2 | ||
RUN if [ "${TARGETARCH}" = "arm64" ]; then \ | ||
wget -nv -O "awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${AWS_CLI_VERSION}.zip"; \ | ||
else \ | ||
wget -nv -O "awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip"; \ | ||
fi && \ | ||
unzip awscliv2.zip && \ | ||
./aws/install && \ | ||
rm -rf ./awscliv2.zip ./aws | ||
RUN apk add aws-cli=${AWS_CLI_VERSION}-r0 | ||
|
||
# Google cloud SDK | ||
RUN [ $TARGETARCH == 'amd64' ] && export GCP_ARCH="x86_64" || export GCP_ARCH="arm" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM python:3.8-alpine3.16 | ||
FROM python:3.8-alpine3.20 | ||
LABEL maintainer="[email protected]" | ||
ARG TARGETARCH | ||
|
||
ENV KUBECTL_DEFAULT_RELEASE=1.22.17 | ||
ENV KUBECTL_RELEASES="${KUBECTL_DEFAULT_RELEASE} 1.26.12 1.27.9 1.28.5 1.29.0" | ||
ENV AWS_CLI_VERSION=2.15.22 | ||
ENV AWS_CLI_VERSION=2.15.57 | ||
ENV AWS_AIM_AUTHENTICATOR_VERSION=0.6.14 | ||
ENV GOOGLE_CLOUD_SDK_VERSION=476.0.0 | ||
ENV ECR_TOKEN_VERSION=v1.0.2 | ||
Check warning on line 10 in Dockerfile.slim GitHub Actions / buildSensitive data should not be used in the ARG or ENV commands
Check warning on line 10 in Dockerfile.slim GitHub Actions / buildSensitive data should not be used in the ARG or ENV commands
|
||
|
@@ -24,14 +24,7 @@ RUN apk update \ | |
unzip | ||
|
||
# AWS CLI 2 | ||
RUN if [ "${TARGETARCH}" = "arm64" ]; then \ | ||
wget -nv -O "awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${AWS_CLI_VERSION}.zip"; \ | ||
else \ | ||
wget -nv -O "awscliv2.zip" "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip"; \ | ||
fi && \ | ||
unzip awscliv2.zip && \ | ||
./aws/install && \ | ||
rm -rf ./awscliv2.zip ./aws | ||
RUN apk add aws-cli=${AWS_CLI_VERSION}-r0 | ||
|
||
# Google cloud SDK | ||
RUN [ $TARGETARCH == 'amd64' ] && export GCP_ARCH="x86_64" || export GCP_ARCH="arm" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters