Skip to content

Commit f1d09b3

Browse files
authored
Install jq to support easier parsing of ansible-chatbot-version-info.json (#55)
* Install jq to support easier parsing of ansible-chatbot-version-info.json * Minor fixes to complete move to Python 3.12
1 parent 1ca7e7e commit f1d09b3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lightspeed-stack/Containerfile.lsc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN pip3.12 install uv
2323
# (avoid accidental inclusion of local directories or env files or credentials)
2424
COPY lightspeed-stack/pyproject.toml lightspeed-stack/uv.lock LICENSE.md README.md ./
2525

26-
RUN uv sync --no-install-project --no-dev
26+
RUN uv sync --locked --no-install-project --no-dev
2727
# ======================================================
2828

2929
# ======================================================
@@ -36,7 +36,7 @@ USER 0
3636
# Re-declaring arguments without a value, inherits the global default one.
3737
ARG ANSIBLE_CHATBOT_VERSION
3838
ARG APP_ROOT=/app-root
39-
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs python3.11
39+
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs python3.11 jq
4040
WORKDIR /app-root
4141

4242
# PYTHONDONTWRITEBYTECODE 1 : disable the generation of .pyc

lightspeed-stack/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ else
2323
fi
2424
fi
2525

26-
python3.11 src/lightspeed_stack.py --config /.llama/data/lightspeed-stack.yaml
26+
python3.12 src/lightspeed_stack.py --config /.llama/data/lightspeed-stack.yaml

lightspeed-stack/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "ansible-chatbot-stack"
33
version = "0.1.0"
4-
description = "Ansible Lightspeed Intelligent Assistant (LSIA)"
4+
description = "Ansible Lightspeed Intelligent Assistant (ALIA)"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [

0 commit comments

Comments
 (0)