From edab9cf7143846d51f04339818780c36f17fbd2e Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Fri, 25 Aug 2023 13:06:59 -0400 Subject: [PATCH] Chore/update base image (#35) * chore: update base image Signed-off-by: Jennifer Power * chore: change to major version Signed-off-by: Jennifer Power --------- Signed-off-by: Jennifer Power --- Dockerfile | 6 +++--- entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ced251c3..c90f6393 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # kics-scan disable=fd54f200-402c-4333-a5a4-36ef6709af2f,b03a748a-542d-44f4-bb86-9199ab4fd2d5 -FROM python:3.8.1-slim as python-base +FROM python:3.9-slim as python-base ENV PYTHONUNBUFFERED=1 \ # prevents python creating .pyc files @@ -37,7 +37,7 @@ RUN apt-get update \ git # install poetry - respects $POETRY_VERSION & $POETRY_HOME -RUN python3.8 -m pip install --no-cache-dir --upgrade pip \ +RUN python3.9 -m pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir poetry=="$POETRY_VERSION" # Cache runtime deps @@ -60,5 +60,5 @@ COPY ./entrypoint.sh / RUN chmod +x /entrypoint.sh -ENTRYPOINT ["python3.8", "-m" , "trestlebot"] +ENTRYPOINT ["python3.9", "-m" , "trestlebot"] diff --git a/entrypoint.sh b/entrypoint.sh index eee70b30..732a183c 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,7 +20,7 @@ else fi # Initialize the command variable -command="python3.8 -m trestlebot \ +command="python3.9 -m trestlebot \ --markdown-path=\"${INPUT_MARKDOWN_PATH}\" \ --oscal-model=\"${INPUT_OSCAL_MODEL}\" \ --ssp-index-path=\"${INPUT_SSP_INDEX_PATH}\" \