chore: upgrade runtimes to latest versions

1. `erlang` from 26.2.1 to 27.0.1
2. `elixir` from 1.16.0 to 1.17.2
3. `python` from 3.12.1 to 3.12.5
4. `poetry` from 1.7.1 to 1.8.3
5. `golang` from 1.21.6 to 1.22.6
This commit is contained in:
João Paulo Dubas 2024-08-10 12:06:23 +00:00
parent acbfc3e45c
commit 50a2822eeb
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 26.2.1
elixir 1.16.0-otp-26
poetry 1.7.1
python 3.12.1
go 1.21.6
erlang 27.0.1
elixir 1.17.2-otp-27
poetry 1.8.3
python 3.12.5
go 1.22.6

View File

@ -1,4 +1,4 @@
FROM debian:bookworm-20240110-slim AS builder
FROM debian:bookworm-20240722-slim AS builder
RUN apt-get update \
&& apt-get install -y \
autoconf \
@ -17,7 +17,7 @@ RUN git clone https://github.com/openvenues/libpostal.git \
&& make -j4 \
&& make install
FROM hexpm/elixir:1.16.0-erlang-26.2.1-debian-bookworm-20231009-slim AS elixir
FROM hexpm/elixir:1.17.2-erlang-27.0.1-debian-bookworm-20240722-slim AS elixir
RUN apt-get update \
&& apt-get install -y \
build-essential \
@ -38,7 +38,7 @@ VOLUME ["/opt/src/app/_build", "/opt/src/app/deps"]
COPY ./ex .
RUN mix do deps.get, deps.compile
FROM python:3.12.1-slim-bookworm AS python
FROM python:3.12.5-slim-bookworm AS python
ENV PATH /root/.local/bin:${PATH}
RUN apt-get update \
&& apt-get install -y \
@ -62,7 +62,7 @@ COPY ./py/poetry.lock .
RUN poetry install
COPY ./py .
FROM golang:1.21.6-bookworm AS go
FROM golang:1.22.6-bookworm AS go
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.la /usr/local/lib/