Skip to content

Commit

Permalink
Chore/update base image (#35)
Browse files Browse the repository at this point in the history
* chore: update base image

Signed-off-by: Jennifer Power <[email protected]>

* chore: change to major version

Signed-off-by: Jennifer Power <[email protected]>

---------

Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 authored Aug 25, 2023
1 parent 1c0edd6 commit edab9cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -60,5 +60,5 @@ COPY ./entrypoint.sh /

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["python3.8", "-m" , "trestlebot"]
ENTRYPOINT ["python3.9", "-m" , "trestlebot"]

2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}\" \
Expand Down

0 comments on commit edab9cf

Please sign in to comment.