Skip to content

Commit

Permalink
Merge pull request #46 from menger5/update_BDC_metadata
Browse files Browse the repository at this point in the history
Update Dockerfile to resolve errors
  • Loading branch information
jaamarks authored Aug 26, 2024
2 parents 2fad320 + 9f712f0 commit 7e1accb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions update_metadata_bdc/v1.0.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ LABEL about.tags="RMIP"
#----------------------------------------------------------------
# Install required command line tools and packages
#----------------------------------------------------------------
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ARG DEBIAN_FRONTEND noninteractive

RUN apt-get -qq update && apt-get -y upgrade && \
apt-get install -y --no-install-recommends \
Expand All @@ -30,7 +31,7 @@ RUN apt-get -qq update && apt-get -y upgrade && \
libxml2-dev \
build-essential && \
apt-get clean && \
apt-get autoremove
apt-get -y autoremove

#----------------------------------------------------------------
# Install R Packages
Expand All @@ -39,9 +40,10 @@ ENV R_VERSION 4.3.2

# Configure CRAN for package retrieval
RUN echo "r <- getOption('repos'); r['CRAN'] <- 'http://cran.us.r-project.org'; options(repos = r);" > ~/.Rprofile
RUN Rscript -e "install.packages('getopt', dependencies = T)"
RUN Rscript -e "install.packages(c('dplyr', 'httr', 'stringr','lubridate','sevenbridges2'), dependencies = T)"
RUN Rscript -e "library('getopt');##### R SESSION INFORMATION #####; sessionInfo()"
RUN Rscript -e "install.packages(c('getopt', 'dplyr', 'httr', 'stringr','lubridate','sevenbridges2'), dependencies = T)"
RUN Rscript -e "library('getopt'); \
##### R SESSION INFORMATION #####; \
sessionInfo()"

#----------------------------------------------------------------
# Copy over analysis scripts
Expand Down

0 comments on commit 7e1accb

Please sign in to comment.