This image has been created primarily for an online cubing competition.
Aside from Python it includes aws-cli which sees a new minor release (e.g. version 0.12.0) approximately once a year.
IMAGE=aws-cli
PYTHON_VERSION=3.9
ALPINE_VERSION=3.13
DEBIAN_VERSION=buster
AWS_VERSION=1.19
TINI_VERSION=0.19
docker image build . -t ${IMAGE}:${AWS_VERSION}-alpine${ALPINE_VERSION}
docker image build . -f Dockerfile-slim -t ${IMAGE}:${AWS_VERSION}-slim-${DEBIAN_VERSION}
git add Dockerfile* README.md
git commit -m "Update to Python ${PYTHON_VERSION}, Alpine ${ALPINE_VERSION}, Debian ${DEBIAN_VERSION}, awscli ${AWS_VERSION}, Tini ${TINI_VERSION}"
git push
for TAG in ${AWS_VERSION}-alpine${ALPINE_VERSION} ${AWS_VERSION}-slim-${DEBIAN_VERSION}
do
git tag ${TAG}
git push origin ${TAG}
done
docker pull logiqx/${IMAGE}:${AWS_VERSION}-alpine${ALPINE_VERSION}
for TAG in ${AWS_VERSION}-alpine latest
do
docker tag logiqx/${IMAGE}:${AWS_VERSION}-alpine${ALPINE_VERSION} logiqx/${IMAGE}:${TAG}
docker push logiqx/${IMAGE}:${TAG}
done
docker pull logiqx/${IMAGE}:${AWS_VERSION}-slim-${DEBIAN_VERSION}
for TAG in ${AWS_VERSION}-slim
do
docker tag logiqx/${IMAGE}:${AWS_VERSION}-slim-${DEBIAN_VERSION} logiqx/${IMAGE}:${TAG}
docker push logiqx/${IMAGE}:${TAG}
done