Skip to content

Commit

Permalink
explicitly export XML config as env
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaldo committed Sep 11, 2024
1 parent 1d61fdd commit 011afc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terra-jupyter-r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ RUN apt-get update \
# Add libsbml CFLAGS
ENV LIBSBML_CFLAGS="-I/usr/include"
ENV LIBSBML_LIBS="-lsbml"
ENV XML_CONFIG="/opt/conda/bin/xml2-config"
RUN echo 'export LIBSBML_CFLAGS="-I/usr/include"' >> /etc/profile \
&& echo 'export LIBSBML_LIBS="-lsbml"' >> /etc/profile
&& echo 'export LIBSBML_LIBS="-lsbml"' >> /etc/profile \
&& echo 'export XML_CONFIG="/opt/conda/bin/xml2-config"' >> /etc/profile

## set pip3 to run as root, not as jupyter user
ENV PIP_USER=false
Expand Down Expand Up @@ -168,7 +170,6 @@ RUN R -e 'install.packages("BiocManager")' \
# Install Bioconductor packages found at:
# https://raw.githubusercontent.com/anvilproject/anvil-docker/master/anvil-rstudio-bioconductor/install.R
RUN R -e 'BiocManager::install(c( \
"XML", \
"AnVIL", \
"SingleCellExperiment", \
"GenomicFeatures", \
Expand Down

0 comments on commit 011afc4

Please sign in to comment.