Closed menger5 closed 3 months ago
Also,
getopt
installed twice?# 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()"
Updated ENV variables and added command to RUN variable to answer prompt
Description
Provide an overview...
Dockerfile Structure and Organization:
FROM ubuntu:20.04
instead ofFROM ubuntu
.Metadata
Include the following LABELs:
LABEL maintainer="Your Name <your.email@rti.org>"
LABEL base-image="ubuntu:22.04"
LABEL description="Short description of the purpose of this image"
LABEL software-website="https://example.com"
LABEL software-version="1.0.0"
LABEL license="https://www.example.com/legal/end-user-software-license-agreement"
File and Resource Management:
/opt
.Container Behavior
CMD
to define how the container should run by default (help message is a good default).Assign reviewer