ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:0ad2ee2cfb186802f49c9bf4148674d1c6fc201f83478ec01ffaa7086d491323 in / |
CMD ["/bin/bash"] |
ARG DEBIAN_FRONTEND=noninteractive |
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -x && apt-get update && apt-get install --no-install-recommends -y software-properties-common dirmngr wget curl build-essential automake gdebi-core && wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc && apt-get install --no-install-recommends -y r-base zlib1g-dev libcurl4-openssl-dev libssl-dev libfontconfig1-dev libxml2-dev libharfbuzz-dev r-cran-dplyr r-cran-tidyverse r-cran-tidygraph r-cran-ggplot2 && R -e "install.packages('rmarkdown', dep = TRUE)" && R -e "install.packages('shiny', repos='https://cran.rstudio.com/')" |
ARG DEBIAN_FRONTEND=noninteractive |
ARG SHINY_SERVER=shiny-server-1.5.20.1002-amd64.deb |
ENV SHINY_LOG_LEVEL=INFO |
ENV SHINY_LOG_STDERR=1 |
|2 DEBIAN_FRONTEND=noninteractive SHINY_SERVER=shiny-server-1.5.20.1002-amd64.deb /bin/sh -c set -x && apt-get install --no-install-recommends -y gfortran r-cran-rcppeigen && wget https://download3.rstudio.org/ubuntu-18.04/x86_64/${SHINY_SERVER} && (echo "y" | gdebi ${SHINY_SERVER}) && rm ${SHINY_SERVER} && mkdir -p /var/lib/shiny-server/packages && chown -R shiny:shiny /var/lib/shiny-server && echo "R_LIBS=/var/lib/shiny-server/packages" > /home/shiny/.Renviron && chown shiny:shiny /home/shiny/.Renviron |
EXPOSE 3838 |
VOLUME [/srv/shiny-server /var/lib/shiny-server] |
USER shiny |
CMD ["shiny-server"] |