Skip to content

Commit

Permalink
Use the latest python3, python3-dev, libxml2, and libxml2-dev Alpine …
Browse files Browse the repository at this point in the history
…packages

The versions that were previously being used are no longer available.
  • Loading branch information
jsf9k committed Apr 12, 2024
1 parent 1c4c1de commit d00d46e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ ENV PYTHON_WHEEL_VERSION=0.40.0
RUN apk --no-cache add \
gcc=12.2.1_git20220924-r10 \
libc-dev=0.7.2-r5 \
libxml2-dev=2.11.6-r0 \
libxml2-dev=2.11.7-r0 \
libxslt-dev=1.1.38-r0 \
py3-pip=23.1.2-r0 \
py3-setuptools=67.7.2-r0 \
py3-wheel=0.40.0-r1 \
python3-dev=3.11.6-r0 \
python3=3.11.6-r0
python3-dev=3.11.8-r0 \
python3=3.11.8-r0

# Install pipenv to manage installing the Python dependencies into a created
# Python virtual environment. This is done separately from the virtual
Expand All @@ -52,7 +52,7 @@ RUN pipenv sync --clear --verbose

# The version of Python used here should match the version of the Alpine
# python3 package installed in the compile-stage.
FROM python:3.11.6-alpine3.18 AS build-stage
FROM python:3.11.8-alpine3.18 AS build-stage

###
# For a list of pre-defined annotation keys and value types see:
Expand All @@ -74,7 +74,7 @@ ENV VIRTUAL_ENV="${CISA_HOME}/.venv"
RUN apk --no-cache add \
ca-certificates=20230506-r0 \
chromium=119.0.6045.159-r0 \
libxml2=2.11.6-r0 \
libxml2=2.11.7-r0 \
libxslt=1.1.38-r0

# Create unprivileged user
Expand Down

0 comments on commit d00d46e

Please sign in to comment.