feat: update runtimes

* `elixir` from `1.17.2` to `1.17.3`
* `python` from `3.12.5` to `3.13.3`
* `golang` from `1.22.6` to `1.24.3`
* `poetry` from `1.8.3` to `2.1.3`
This commit is contained in:
João Paulo Dubas 2025-05-07 18:25:47 +00:00
parent 1818f0aa5c
commit ae71bfdb85
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
erlang 27.0.1 erlang 27.3.3
elixir 1.17.2-otp-27 elixir 1.18.3
poetry 1.8.3 poetry 2.1.3
python 3.12.5 python 3.13.3
go 1.22.6 golang 1.24.3

View File

@ -1,4 +1,4 @@
FROM debian:bookworm-20240722-slim AS builder FROM debian:bookworm-20250428-slim AS builder
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
autoconf \ autoconf \
@ -21,7 +21,7 @@ RUN git config --global http.version HTTP/1.1 \
&& make -j4 \ && make -j4 \
&& make install && make install
FROM hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240722-slim AS elixir FROM hexpm/elixir:1.17.3-erlang-27.3.3-debian-bookworm-20250428-slim AS elixir
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
build-essential \ build-essential \
@ -42,7 +42,7 @@ VOLUME ["/opt/src/app/_build", "/opt/src/app/deps"]
COPY ./ex . COPY ./ex .
RUN mix do deps.get, deps.compile RUN mix do deps.get, deps.compile
FROM python:3.12.5-slim-bookworm AS python FROM python:3.13.3-slim-bookworm AS python
ENV PATH /root/.local/bin:${PATH} ENV PATH /root/.local/bin:${PATH}
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y \ && apt-get install -y \
@ -66,7 +66,7 @@ COPY ./py/poetry.lock .
RUN poetry install RUN poetry install
COPY ./py . COPY ./py .
FROM golang:1.22.6-bookworm AS go FROM golang:1.24.3-bookworm AS go
COPY --from=builder /usr/local/include/libpostal /usr/local/include/libpostal COPY --from=builder /usr/local/include/libpostal /usr/local/include/libpostal
COPY --from=builder /usr/local/lib/libpostal.a /usr/local/lib/ COPY --from=builder /usr/local/lib/libpostal.a /usr/local/lib/
COPY --from=builder /usr/local/lib/libpostal.la /usr/local/lib/ COPY --from=builder /usr/local/lib/libpostal.la /usr/local/lib/