-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from /issues/101
Update nightly + full build pipelines
- Loading branch information
Showing
3 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 git\ | ||
&& 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 |