-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from boegel/better_base
install EasyBuild as a module in base image + clean up GCC 9.3.0 image
- Loading branch information
Showing
3 changed files
with
44 additions
and
30 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
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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
FROM easybuilders/test:centos7-eb421-gcc930 | ||
USER root | ||
RUN yum install -y rdma-core-devel openssl | ||
USER easybuild | ||
ARG IMG_REGISTRY=docker.io | ||
ARG IMG_ORG=easybuilders | ||
ARG IMG_NAME=test | ||
ARG IMG_TAG=centos7-eb421-gcc930 | ||
# allow CI/CD to change all of the above | ||
FROM ${IMG_REGISTRY}/${IMG_ORG}/${IMG_NAME}:${IMG_TAG} | ||
|
||
# install software & accompanying modules | ||
RUN (eb foss-2020a.eb --robot || tail -100 `eb --last-log`) \ | ||
# clean up everything in /scratch | ||
&& rm -rf /scratch/* | ||
# finalize /easybuild, no changes can be made in /easybuild that persist! | ||
VOLUME /easybuild | ||
# make sure we start in /home/easybuild rather than / when shell in started in container | ||
WORKDIR /home/easybuild |