-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(docker): Upgrade reana-workflow-engine-serial Ubuntu 24.04 (#808)
- Loading branch information
1 parent
8ca85c0
commit e8af4e9
Showing
2 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
# This file is part of REANA. | ||
# Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023 CERN. | ||
# Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN. | ||
# | ||
# REANA is free software; you can redistribute it and/or modify it | ||
# under the terms of the MIT License; see LICENSE file for more details. | ||
|
||
# Use Ubuntu LTS base image | ||
FROM docker.io/library/ubuntu:20.04 | ||
FROM docker.io/library/ubuntu:24.04 | ||
|
||
# Use default answers in installation commands | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Use distutils provided by the standard Python library instead of the vendored one in | ||
# setuptools, so that editable installations are stored in the right directory. | ||
# See https://github.com/pypa/setuptools/issues/3301 | ||
ENV SETUPTOOLS_USE_DISTUTILS=stdlib | ||
# Allow pip to install packages in the system site-packages dir | ||
ENV PIP_BREAK_SYSTEM_PACKAGES=true | ||
|
||
# Prepare list of Python dependencies | ||
COPY requirements.txt /code/ | ||
|
@@ -23,16 +21,16 @@ COPY requirements.txt /code/ | |
RUN apt-get update -y && \ | ||
apt-get install --no-install-recommends -y \ | ||
gcc \ | ||
python3.8 \ | ||
python3-dev \ | ||
python3.12 \ | ||
python3.12-dev \ | ||
python3-pip \ | ||
vim-tiny && \ | ||
pip install --no-cache-dir --upgrade pip setuptools && \ | ||
pip install --no-cache-dir --upgrade setuptools && \ | ||
pip install --no-cache-dir -r /code/requirements.txt && \ | ||
apt-get remove -y \ | ||
gcc \ | ||
python3-dev && \ | ||
apt-get autoremove -y && \ | ||
python3.12-dev && \ | ||
apt-get autoremove -y && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
|
@@ -63,7 +61,7 @@ ENV TERM=xterm \ | |
|
||
# Set image labels | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.created="2024-03-04" | ||
LABEL org.opencontainers.image.created="2024-07-04" | ||
LABEL org.opencontainers.image.description="REANA reproducible analysis platform - Serial workflow engine component" | ||
LABEL org.opencontainers.image.documentation="https://reana-workflow-engine-serial.readthedocs.io/" | ||
LABEL org.opencontainers.image.licenses="MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters