66# in the Python Docker image we use for the build-stage. The tag of the Python
77# Docker image matches the version of the python3 package available on Alpine
88# for consistency.
9- FROM alpine:3.17 AS compile-stage
9+ FROM alpine:3.18 AS compile-stage
1010
1111# Unprivileged user information necessary for the Python virtual environment
1212ARG CISA_USER="cisa"
1313ENV CISA_HOME="/home/${CISA_USER}"
1414ENV VIRTUAL_ENV="${CISA_HOME}/.venv"
1515
1616# Versions of the Python packages installed directly
17- ENV PYTHON_PIP_VERSION=23.0.1
18- ENV PYTHON_PIPENV_VERSION=2023.3 .20
19- ENV PYTHON_SETUPTOOLS_VERSION=67.6.1
17+ ENV PYTHON_PIP_VERSION=23.1.2
18+ ENV PYTHON_PIPENV_VERSION=2023.10 .20
19+ ENV PYTHON_SETUPTOOLS_VERSION=67.7.2
2020ENV PYTHON_WHEEL_VERSION=0.40.0
2121
2222RUN apk --no-cache add \
23- gcc=12.2.1_git20220924-r4 \
24- libc-dev=0.7.2-r3 \
25- libxml2-dev=2.10 .4-r0 \
26- libxslt-dev=1.1.37-r1 \
27- py3-pip=22.3.1-r1 \
28- py3-setuptools=65.6.0 -r0 \
29- py3-wheel=0.38.4-r0 \
30- python3-dev=3.10.13 -r0 \
31- python3=3.10.13 -r0
23+ gcc=12.2.1_git20220924-r10 \
24+ libc-dev=0.7.2-r5 \
25+ libxml2-dev=2.11 .4-r0 \
26+ libxslt-dev=1.1.38-r0 \
27+ py3-pip=23.1.2-r0 \
28+ py3-setuptools=67.7.2 -r0 \
29+ py3-wheel=0.40.0-r1 \
30+ python3-dev=3.11.6 -r0 \
31+ python3=3.11.6 -r0
3232
3333# Install pipenv to manage installing the Python dependencies into a created
3434# Python virtual environment. This is done separately from the virtual
@@ -52,7 +52,7 @@ RUN pipenv sync --clear --verbose
5252
5353# The version of Python used here should match the version of the Alpine
5454# python3 package installed in the compile-stage.
55- FROM python:3.10.12 -alpine3.17 AS build-stage
55+ FROM python:3.11.6 -alpine3.18 AS build-stage
5656
5757# ##
5858# For a list of pre-defined annotation keys and value types see:
@@ -73,9 +73,9 @@ ENV VIRTUAL_ENV="${CISA_HOME}/.venv"
7373
7474RUN apk --no-cache add \
7575 ca-certificates=20230506-r0 \
76- chromium=112 .0.5615.165 -r0 \
77- libxml2=2.10 .4-r0 \
78- libxslt=1.1.37-r1
76+ chromium=117 .0.5938.62 -r0 \
77+ libxml2=2.11 .4-r0 \
78+ libxslt=1.1.38-r0
7979
8080# Create unprivileged user
8181RUN addgroup --system --gid ${CISA_GID} ${CISA_GROUP} \
0 commit comments