File tree 5 files changed +266
-90
lines changed
5 files changed +266
-90
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
# We use a standard Debian image to mirror a typical developer environment.
10
10
# This should be updated whenever a new Debian stable version is available.
11
- container : debian:bullseye
11
+ container : debian:bookworm
12
12
steps :
13
13
- uses : actions/checkout@v4
14
14
- name : Install dependencies
15
15
run : |
16
- apt-get update && apt-get install --yes --no-install-recommends make python3-pip
17
- pip install poetry==1.4.0
16
+ apt-get update && apt-get install --yes --no-install-recommends make python3-poetry
18
17
poetry install --no-ansi
19
18
- name : Run lint
20
19
run : |
Original file line number Diff line number Diff line change @@ -11,13 +11,12 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
# We use a standard Debian image to mirror a typical developer environment.
13
13
# This should be updated whenever a new Debian stable version is available.
14
- container : debian:bullseye
14
+ container : debian:bookworm
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
- name : Install dependencies
18
18
run : |
19
- apt-get update && apt-get install --yes --no-install-recommends make python3-pip
20
- pip install poetry==1.4.0
19
+ apt-get update && apt-get install --yes --no-install-recommends make python3-poetry
21
20
poetry install --no-ansi
22
21
- name : Run lint
23
22
run : |
Original file line number Diff line number Diff line change 1
- # sha256 as of 2023-10-16
2
- FROM python:3.9-slim-bullseye@sha256:b3415be51b8d2c8f35a6eb3db85e9ccdedf12beaa3b18ed4c2f769889717d02a AS sphinx
1
+ FROM debian:bookworm AS sphinx
3
2
4
3
ARG GIT_BRANCH=main
5
- RUN apt-get -q update && apt-get -qy upgrade && apt-get -qy install git make latexmk texlive-latex-extra
4
+ RUN apt-get -q update && apt-get -qy upgrade && apt-get -qy install git make latexmk texlive-latex-extra python3-poetry
6
5
COPY ./ .
7
- RUN pip install poetry==1.4.0
8
6
RUN poetry install
9
- # TODO: Once the latest stable tag uses poetry, we can drop the `poetry run` prefix
10
- RUN poetry run deploy/build $GIT_BRANCH
7
+ RUN deploy/build $GIT_BRANCH
11
8
12
- # sha256 as of 2023-10-16
13
- FROM nginx:mainline-alpine-slim@sha256:1b0cb433e90260a96528c987ee78b797e842d510473935304a0931536d10f50d
9
+ # sha256 as of 2024-06-10
10
+ FROM nginx:mainline-alpine-slim@sha256:244d37691a469d45349d9f29e8b7462d9f510b70c0c93acc5d23ee227070c962
14
11
15
12
COPY deploy/nginx.conf /etc/nginx
16
13
RUN mkdir -p /opt/nginx/run /opt/nginx/webroot/en/latest /opt/nginx/webroot/en/stable && chown -R nginx:nginx /opt/nginx
You can’t perform that action at this time.
0 commit comments