Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
raswaters committed Jul 22, 2024
1 parent e3edee1 commit f60f989
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ USER root
# Removing kernel-headers seems to remove glibc and all packages which use them
# Install s/w dev tools for fitscut build
RUN yum remove -y kernel-devel &&\
yum install -y epel-release && \
yum update -y && \
yum install -y \
emacs-nox \
Expand Down Expand Up @@ -94,7 +95,7 @@ RUN mkdir -p /grp/crds/cache && chown -R developer.developer /grp/crds/cache

# ------------------------------------------------
USER developer
# for any base docker image created later than and including stsci/hst-pipeline:CALDP_20220420_CAL_final,
# for any base docker image created later than and including stsci/hst-pipeline:CALDP_20220420_CAL_final,
# the critical base environment is now buried in a conda environment named "linux"
# this creates various issues with the docker run command
# I played around for several hours with ways to bury the conda activation in a .bashrc or .bash_profile,
Expand All @@ -103,5 +104,5 @@ USER developer
# and bake it straight into the image.
# --bhayden, 5-24-22
ENV PATH=/opt/conda/envs/linux/bin:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN cd caldp && \
RUN cd caldp && \
pip install .[dev,test]

0 comments on commit f60f989

Please sign in to comment.