Skip to content

Commit

Permalink
Update dependencies and tools (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored Jul 27, 2024
1 parent 29006b7 commit 8609c30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions os/debian/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,25 @@
# https://hub.docker.com/_/debian
# We use codename (bookworm) instead of version number (12) because we want to select
# the matching Python Docker image, which is named after the codename only.
# bookworm-20240513 corresponds to Debian 12.5
# 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=20240513
ARG DEBAIN_DATECODE=20240722
# Find the current version of Python at https://www.python.org/downloads/source/
ARG PYTHON_VERSION=3.12.3
ARG PYTHON_VERSION=3.12.4

# https://github.com/ahmetb/kubectx/releases
ARG KUBECTX_COMPLETION_VERSION=0.9.5
# https://github.com/jonmosco/kube-ps1/releases
ARG KUBE_PS1_VERSION=0.8.0
ARG KUBE_PS1_VERSION=0.9.0
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html#plugin-version-history
ARG SESSION_MANAGER_PLUGIN_VERSION=latest

# Helm plugins:
# https://github.com/databus23/helm-diff/releases
ARG HELM_DIFF_VERSION=3.9.4
ARG HELM_DIFF_VERSION=3.9.9
# https://github.com/aslafy-z/helm-git/releases
# We had issues with helm-diff 3.1.3 + helm-git 0.9.0,
# previous workaround was to pin helm-git to version 0.8.1.
# We expect this has been fixed now with helm-diff 3.3.2 + helm-git 0.11.1
ARG HELM_GIT_VERSION=0.15.1
ARG HELM_GIT_VERSION=1.3.0


FROM python:${PYTHON_VERSION}-slim-${DEBIAN_CODENAME} as python
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 (split (getenv "GEODESIC_VERSION") " ") 0) | default "dev") (getenv "GEODESIC_OS" "alpine")) -}}"
export DOCKER_TAG="{{- getenv "DOCKER_TAG" (printf "${1:-%s-%s}" ((index (strings.Split (getenv "GEODESIC_VERSION") " ") 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

0 comments on commit 8609c30

Please sign in to comment.