Skip to content
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
27 changes: 27 additions & 0 deletions docker/pypi/gfal/Dockerfile.alma9
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM registry.cern.ch/cmsweb/dmwm-base:alma9-py3.12-20250728-stable
LABEL org.opencontainers.image.authors="Dennis Lee dylee@fnal.gov"

WORKDIR /tmp
RUN dnf -y upgrade && \
dnf install epel-release -y && dnf clean all && \
dnf -y install git bzip2 gfal2-devel python3.12-devel

RUN git clone --branch v1.13.0 https://github.com/cern-fts/gfal2-python.git

WORKDIR /tmp/gfal2-python
RUN ./ci/fedora-packages.sh

WORKDIR /tmp
# get and install boost
RUN git clone https://github.com/boostorg/boost.git -b boost-1.85.0 boost_1_85_0 --depth 1 && \
cd boost_1_85_0 && \
git submodule update --depth 1 -q --init tools/boostdep && \
git submodule update --depth 1 -q --init libs/python && \
python tools/boostdep/depinst/depinst.py -X test -g "--depth 1" python && \
./bootstrap.sh --with-python=/usr/bin/python3.12 && \
./b2 install --with-python

RUN python -m venv .venv
ENV PATH="$WDIR/.venv/bin:$PATH"

RUN .venv/bin/pip install -v gfal2-python
6 changes: 6 additions & 0 deletions docker/pypi/gfal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# cmsweb/gfal

Builds gfal Python interface. Based on steps provided by gfal team: https://github.com/cern-fts/gfal2-python

## Building
Use `Dockerfile.alma9` to build for Python 3.12, gfal version 1.13.0