Skip to content

Commit

Permalink
Update nightly + full build pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs committed Feb 3, 2024
1 parent 8a4f3cf commit 4b273c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pipelines/full-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ stages:
- task: UsePythonVersion@0
displayName: Set python version
inputs:
versionSpec: 3.9
versionSpec: 3.11
- script: |
set -ex # Echo commands before they are run
Expand Down
7 changes: 2 additions & 5 deletions root-image/common.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
FROM python:3.9-slim-buster AS base
FROM python:3.11-slim-bookworm AS base

# Upgrade dist packages
RUN apt-get update && apt-get -yy upgrade && rm -rf /var/lib/apt/lists/*

# Get required apt packages
RUN apt-get update \
&& apt-get install -yy libffi6 libfuzzy2 libmagic1 \
&& apt-get install -yy libffi8 libfuzzy2 libmagic1 \
&& rm -rf /var/lib/apt/lists/*

# Patch Python 3.9 for FIPS - https://github.com/python/cpython/issues/95231 (Not necessary for Python 3.10+)
RUN sed -i -e 's/if e.errno == errno.EINVAL:/if e.errno in {errno.EINVAL, errno.EPERM, errno.ENOSYS}:/g' /usr/local/lib/python3.9/crypt.py

0 comments on commit 4b273c8

Please sign in to comment.