Skip to content

Commit

Permalink
Update tools to recent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Mar 22, 2024
1 parent 9f8429f commit b4488ef
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.10.5-alpine3.16 as builder
FROM python:3.11.8-alpine3.19 as builder

ENV AWS_CLI_VERSION=2.7.16
ENV AWS_CLI_VERSION=2.15.31

RUN set -ex; \
apk add --no-cache \
Expand All @@ -9,7 +9,6 @@ git unzip groff build-base libffi-dev cmake
RUN set -eux; \
git clone --single-branch --depth 1 -b ${AWS_CLI_VERSION} https://github.com/aws/aws-cli.git; \
cd /aws-cli; \
sed -i'' 's/PyInstaller.*/PyInstaller==5.2/g' requirements-build.txt; \
python -m venv venv; \
. venv/bin/activate; \
./scripts/installers/make-exe
Expand All @@ -19,25 +18,23 @@ unzip /aws-cli/dist/awscli-exe.zip; \
./aws/install --bin-dir /aws-cli-bin; \
/aws-cli-bin/aws --version

FROM alpine:3.16.0
FROM alpine:3.19

LABEL maintainer="Wildlife Studios"

ARG BASH_VERSION="5.1.16-r2"
ARG CURL_VERSION="7.83.1-r2"
ARG DOCKER_CLI_VERSION="20.10.16-r0"
ARG DOCKER_COMPOSE_VERSION="1.29.2-r2"
ARG GIT_VERSION="2.36.2-r0"
ARG MAKE_VERSION="4.3-r0"
ARG BASH_VERSION="5.2.21-r0"
ARG CURL_VERSION="8.5.0-r0"
ARG DOCKER_CLI_VERSION="25.0.3-r1"
ARG GIT_VERSION="2.43.0-r0"
ARG MAKE_VERSION="4.4.1-r2"

ARG KUBECTL_VERSION="v1.23.8"
ARG HELM_VERSION="v3.9.0"
ARG KUBECTL_VERSION="v1.29.2"
ARG HELM_VERSION="v3.14.3"

RUN apk --no-cache upgrade
RUN apk --no-cache add bash=${BASH_VERSION} \
curl=${CURL_VERSION} \
docker-cli=${DOCKER_CLI_VERSION} \
docker-compose=${DOCKER_COMPOSE_VERSION} \
git=${GIT_VERSION} \
make=${MAKE_VERSION}

Expand Down

0 comments on commit b4488ef

Please sign in to comment.