Created
April 30, 2019 18:04
-
-
Save jhoblitt/715cc2245420d1304728faca185b8943 to your computer and use it in GitHub Desktop.
Example of adding `rh-git29` scl to an LSST scipipe docker image
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
ARG BASE_IMAGE=lsstsqre/centos:7-stack-lsst_distrib-w_2019_17 | |
FROM $BASE_IMAGE | |
USER root | |
RUN yum install -y rh-git29 | |
RUN echo -e '#!/bin/bash\nsource scl_source enable rh-git29\n' > /etc/profile.d/rh-git29.sh | |
RUN chmod 0555 /etc/profile.d/rh-git29.sh | |
USER lsst | |
SHELL ["/bin/bash", "-lc"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment