-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alma9 flavour (attempt to add standalone Combine after)
- Loading branch information
Showing
3 changed files
with
61 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM almalinux:9 | ||
|
||
ARG python | ||
ARG releasev0 | ||
|
||
ENV PYTHON_VERSION=${python} | ||
|
||
RUN yum -y install epel-release \ | ||
&& yum -y update \ | ||
&& yum -y install git curl bzip2 libgfortran which \ | ||
&& curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ | ||
&& bash /tmp/mambaforge.sh -bfp /usr/local \ | ||
&& rm -rf /tmp/mambaforge.sh \ | ||
&& mamba update mamba \ | ||
&& mamba clean --all --yes \ | ||
&& rpm -e --nodeps curl bzip2 \ | ||
&& yum clean all | ||
|
||
COPY environment.yaml / | ||
|
||
RUN mamba install --yes python=${PYTHON_VERSION} \ | ||
&& mamba env update --file /environment.yaml \ | ||
&& mamba clean -y --all | ||
|
||
# Make a symbolic link between installation /opt/conda/etc/grid-security and actual directory /etc/grid-security | ||
RUN ln -s /usr/local/etc/grid-security /etc/grid-security && \ | ||
curl -L https://github.com/opensciencegrid/osg-vo-config/archive/refs/heads/master.tar.gz | \ | ||
tar -xz --strip-components=1 --directory=/etc/grid-security --wildcards */vomses */vomsdir && \ | ||
mv /etc/grid-security/vomses /etc |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM almalinux:9 | ||
|
||
ARG python | ||
ARG release | ||
|
||
ENV PYTHON_VERSION=${python} | ||
|
||
RUN yum -y install epel-release \ | ||
&& yum -y update \ | ||
&& yum -y install git curl bzip2 libgfortran which zsh emacs vim htop man man-pages \ | ||
&& curl -sSL https://github.com/conda-forge/miniforge/releases/download/23.3.1-1/Mambaforge-Linux-x86_64.sh -o /tmp/mambaforge.sh \ | ||
&& bash /tmp/mambaforge.sh -bfp /usr/local \ | ||
&& rm -rf /tmp/mambaforge.sh \ | ||
&& mamba update mamba \ | ||
&& mamba clean --all --yes \ | ||
&& rpm -e --nodeps curl bzip2 \ | ||
&& yum clean all | ||
|
||
COPY environment.yaml / | ||
|
||
RUN mamba install --yes python=${PYTHON_VERSION} \ | ||
&& mamba env update --file /environment.yaml \ | ||
&& mamba clean -y --all | ||
|
||
# Make a symbolic link between installation /opt/conda/etc/grid-security and actual directory /etc/grid-security | ||
RUN ln -s /usr/local/etc/grid-security /etc/grid-security && \ | ||
curl -L https://github.com/opensciencegrid/osg-vo-config/archive/refs/heads/master.tar.gz | \ | ||
tar -xz --strip-components=1 --directory=/etc/grid-security --wildcards */vomses */vomsdir && \ | ||
mv /etc/grid-security/vomses /etc |