comms: use guest-tools image for guest rename
This commit is contained in:
parent
f9830c6678
commit
6997d5e202
5
dockerfiles/Dockerfile.comms-guest-tools
Normal file
5
dockerfiles/Dockerfile.comms-guest-tools
Normal file
@ -0,0 +1,5 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
|
||||
RUN pip install --no-cache-dir requests psycopg2-binary
|
||||
@ -62,7 +62,7 @@ spec:
|
||||
defaultMode: 0555
|
||||
containers:
|
||||
- name: rename
|
||||
image: python:3.11-slim
|
||||
image: registry.bstein.dev/bstein/comms-guest-tools:0.1.0
|
||||
volumeMounts:
|
||||
- name: vault-scripts
|
||||
mountPath: /vault/scripts
|
||||
@ -94,7 +94,6 @@ spec:
|
||||
- |
|
||||
set -euo pipefail
|
||||
. /vault/scripts/comms_vault_env.sh
|
||||
pip install --no-cache-dir requests psycopg2-binary >/dev/null
|
||||
python - <<'PY'
|
||||
import base64
|
||||
import os
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user