Skip to content

Commit

Permalink
chore: switch from mantis (23.10) to next LTS (24.04) (#1022)
Browse files Browse the repository at this point in the history
* chore: switch from mantis (`23.10`) to next LTS (`24.04`)

Signed-off-by: Guilhem Barthés <[email protected]>

* chore: change base version python

Signed-off-by: Guilhem Barthés <[email protected]>

* chore: change base version python in `ca-cert-injector`

Signed-off-by: Guilhem Barthés <[email protected]>

* chore: change base version python

Signed-off-by: Guilhem Barthés <[email protected]>

---------

Signed-off-by: Guilhem Barthés <[email protected]>
  • Loading branch information
guilhem-barthes authored Dec 20, 2024
1 parent 01bfd51 commit 86619f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/ca-cert-injector/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ubuntu:mantic
FROM ubuntu:24.04

RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates openssl && rm -rf /var/lib/apt/lists/* && update-ca-certificates
8 changes: 4 additions & 4 deletions docker/substra-backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM ubuntu:23.10 AS build
FROM ubuntu:24.04 AS build

ENV GRPC_POLL_STRATEGY=epoll1
ENV PYTHONUNBUFFERED=1

RUN apt-get update -y \
&& apt-get install --no-install-recommends -y --only-upgrade gnupg \
&& apt-get --no-install-recommends -y install software-properties-common python3-pip gcc python3.11-dev python3-watchdog celery python-is-python3 python3.11-venv \
&& apt-get --no-install-recommends -y install software-properties-common python3-pip gcc python3-dev python3-watchdog celery python-is-python3 python3-venv \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app

COPY ./backend/requirements.txt /usr/src/app/.

RUN python3.11 -m venv /venv
RUN python -m venv /venv
ENV PATH="/venv/bin:$PATH" VIRTUAL_ENV="/venv"

RUN pip install --upgrade --no-cache-dir pip==24.0 \
Expand Down Expand Up @@ -52,7 +52,7 @@ COPY ./backend/dev-requirements.txt /usr/src/app/.
RUN pip install --no-cache-dir -r dev-requirements.txt
COPY backend/dev-startup.sh .

FROM ubuntu:23.10
FROM ubuntu:24.04

ARG VERSION
ENV BACKEND_VERSION=${VERSION:-dev}
Expand Down

0 comments on commit 86619f3

Please sign in to comment.