Last active
August 5, 2018 04:56
-
-
Save William-Hill/e7049b159b5fab23fcb23bf0ed30bd99 to your computer and use it in GitHub Desktop.
Dockerfile for creating a CentOS6 image bootstrapped for ESGF
This file contains hidden or 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
# Use an official CentOS image | |
FROM centos:6 | |
# Set the working directory to /home/hill119 | |
WORKDIR /home/hill119 | |
USER root | |
# Copy the current directory contents into the container at /home/hill119 | |
ADD . /home/hill119 | |
RUN yum -y install wget && yum clean all | |
# Run esgf bootstrap | |
RUN chmod 777 esg_bootstrap.sh && ./esg_bootstrap.sh | |
#Activate conda env | |
RUN source /usr/local/conda/bin/activate esgf-pub | |
RUN git clone https://github.com/ESGF/esgf-installer.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment