forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update Alpine image for cilium/docs-builder
Update the version of the base image used for the docs-builder image. A few packages have changed name and need to be updated. The path for the workaround in the add-on for printing a warning banner on older versions of the documentation also needs an update (alas, the related issue humitos/sphinx-version-warning#22 is still not solved). Signed-off-by: Quentin Monnet <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM docker.io/library/python:3.7.9-alpine3.11 | ||
FROM docker.io/library/python:3.10.4-alpine3.15 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
|
@@ -8,12 +8,13 @@ RUN apk add --no-cache --virtual --update \ | |
npm \ | ||
bash \ | ||
ca-certificates \ | ||
enchant \ | ||
enchant2 \ | ||
enchant2-dev \ | ||
git \ | ||
libc6-compat \ | ||
py-pip \ | ||
python \ | ||
sphinx-python \ | ||
python3 \ | ||
py3-sphinx \ | ||
gcc \ | ||
musl-dev \ | ||
&& true | ||
|
@@ -27,4 +28,4 @@ ENV READTHEDOCS_VERSION=$READTHEDOCS_VERSION | |
## Workaround odd behaviour of sphinx versionwarning extension. It wants to | ||
## write runtime data inside a system directory. | ||
## We do rely on this extension, so we cannot just drop it. | ||
RUN install -m 0777 -d /usr/local/lib/python3.7/site-packages/versionwarning/_static/data | ||
RUN install -m 0777 -d /usr/local/lib/python3.10/site-packages/versionwarning/_static/data |
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