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

Update Python to 3.12.5, fix init script #955

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions os/debian/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# bookworm-20240722 corresponds to Debian 12.6
ARG DEBIAN_CODENAME=bookworm
# Debian codenamed images are tagged with date codes rather than minor version numbers.
ARG DEBAIN_DATECODE=20240722
ARG DEBAIN_DATECODE=20240812
# Find the current version of Python at https://www.python.org/downloads/source/
ARG PYTHON_VERSION=3.12.4
ARG PYTHON_VERSION=3.12.5

# https://github.com/ahmetb/kubectx/releases
ARG KUBECTX_COMPLETION_VERSION=0.9.5
Expand All @@ -23,7 +23,7 @@ ARG HELM_DIFF_VERSION=3.9.9
ARG HELM_GIT_VERSION=1.3.0


FROM python:${PYTHON_VERSION}-slim-${DEBIAN_CODENAME} as python
FROM python:${PYTHON_VERSION}-slim-${DEBIAN_CODENAME} AS python

# Debian comes with minimal Locale support. See https://github.com/docker-library/docs/pull/703/files
# Recommended: LC_ALL=C.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion rootfs/templates/bootstrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
export DOCKER_IMAGE="{{getenv "DOCKER_IMAGE" "cloudposse/geodesic"}}"
export DOCKER_TAG="{{- getenv "DOCKER_TAG" (printf "${1:-%s-%s}" ((index (strings.Split (getenv "GEODESIC_VERSION") " ") 0) | default "dev") (getenv "GEODESIC_OS" "alpine")) -}}"
export DOCKER_TAG="{{- getenv "DOCKER_TAG" (printf "${1:-%s-%s}" ((index (getenv "GEODESIC_VERSION" | strings.Split " ") 0) | default "dev") (getenv "GEODESIC_OS" "alpine")) -}}"
export APP_NAME=${APP_NAME:-$(basename $DOCKER_IMAGE)}
export INSTALL_PATH=${INSTALL_PATH:-/usr/local/bin}
export SAFE_INSTALL_PATH="$HOME/.local/bin" # per XDG recommendations
Expand Down