Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch from mantis (23.10) to next LTS (24.04) #1022

Merged
merged 4 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading