11ARG cvmfsversion=2.13.0
2- ARG archspecversion=0.2.2
32ARG awscliversion=1.32.22
4- ARG fuseoverlayfsversion=1.10
3+ ARG unionfsfuseversion=3.6
4+
55
66FROM debian:trixie-20250520-slim AS prepare-deb
77ARG cvmfsversion
@@ -11,25 +11,34 @@ RUN sh /build-or-download-cvmfs-debs.sh ${cvmfsversion}
1111
1212FROM debian:trixie-20250520-slim
1313ARG cvmfsversion
14- ARG archspecversion
1514ARG awscliversion
16- ARG fuseoverlayfsversion
15+ ARG unionfsfuseversion
1716
1817COPY --from=prepare-deb /root/deb /root/deb
1918
2019RUN apt-get update
21- RUN apt-get install -y sudo vim openssh-client gawk autofs curl attr uuid fuse3 libfuse2 psmisc gdb uuid-dev lsof strace
20+ RUN apt-get install -y sudo vim openssh-client gawk autofs curl attr uuid fuse3 libfuse2 psmisc gdb uuid-dev lsof strace zstd
2221# python3 and jq are required for eessi-upload-to-staging script (next to awscli)
23- RUN apt-get install -y python3-pip python3-venv jq
22+ RUN apt-get install -y python3-pip jq
2423RUN dpkg -i /root/deb/cvmfs_${cvmfsversion}~1+debian13_$(dpkg --print-architecture).deb \
2524 /root/deb/cvmfs-fuse3_${cvmfsversion}~1+debian13_$(dpkg --print-architecture).deb \
2625 /root/deb/cvmfs-libs_${cvmfsversion}~1+debian13_$(dpkg --print-architecture).deb \
2726 /root/deb/cvmfs-config-default_latest_all.deb \
2827 /root/deb/cvmfs-config-eessi_latest_all.deb
2928
30- # download binary for specific version of fuse-overlayfs
31- RUN curl -L -o /usr/local/bin/fuse-overlayfs https://github.com/containers/fuse-overlayfs/releases/download/v${fuseoverlayfsversion}/fuse-overlayfs-$(uname -m) \
32- && chmod +x /usr/local/bin/fuse-overlayfs
29+ #RUN apt-get install -y unionfs-fuse
30+ RUN apt-get install -y cmake pkg-config libfuse3-dev \
31+ && curl -OL https://github.com/rpodgorny/unionfs-fuse/archive/refs/tags/v${unionfsfuseversion}.tar.gz \
32+ && tar xfvz v${unionfsfuseversion}.tar.gz \
33+ && cd unionfs-fuse-${unionfsfuseversion} \
34+ && mkdir build \
35+ && cd build \
36+ && cmake .. \
37+ && make install \
38+ && command -v unionfs \
39+ && unionfs --version \
40+ && unionfs --help \
41+ && apt-get remove -y cmake pkg-config libfuse3-dev
3342
3443RUN echo 'CVMFS_QUOTA_LIMIT=10000' > /etc/cvmfs/default.local \
3544 && echo 'CVMFS_CLIENT_PROFILE="single"' >> /etc/cvmfs/default.local \
@@ -39,6 +48,5 @@ RUN mkdir -p /cvmfs/software.eessi.io
3948
4049RUN useradd -ms /bin/bash eessi
4150
42- RUN python3 -m venv /opt/archspec && . /opt/archspec/bin/activate && pip3 install archspec==${archspecversion} && deactivate && ln -s /opt/archspec/bin/archspec /usr/local/bin/archspec
4351# stick to awscli v1.x, 2.x is not available through PyPI (see https://github.com/aws/aws-cli/issues/4947)
44- RUN python3 -m venv /opt/ awscli && . /opt/awscli/bin/activate && pip3 install awscli ==${awscliversion} && deactivate && ln -s /opt/awscli/bin/aws /usr/local/bin/aws
52+ RUN pip3 install --break-system-packages archspec awscli==${awscliversion}
0 commit comments