运行的版本我与搬运工的工作,因为大约一个星期,我有些不明白的链接容器的东西。泊坞窗 - Rstudio - R的老一起
我从摇臂下载,Rstudio的最新图像。它很好地工作,一切都很好。我有一个自己制造的旧R版本容器(比如说Humm 3.1.0-1)。我想要做的是使用我自己制作的R版本从摇杆使用Rstudio。但这是我不明白的地方。怎么运行的 ?可能吗 ?如果我能做到这一点会很棒,但我真的不明白。
如果有人有一个解决方案,那将是真正伟大的。
这是我为我的老版本[R dockerfile:
#Get trusty version of ubuntu
FROM ubuntu:trusty
#We need to have https for cran
RUN apt-get -y update && apt-get -y install apt-transport-https
#We add the mirror directory to get older version packages
RUN echo "deb https://cloud.r-project.org/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list
#We clean and get authentication key
RUN apt-get clean && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E084DAB9
#We add the key
RUN gpg -a --export E084DAB9 | apt-key add -
#We now update our lib
RUN apt-get -y update
# --> R PACKAGE INSTALLATION <--
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install r-base-core=3.1.0-1trusty0
RUN DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install r-doc-html=3.1.0-1trusty0
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install r-base-dev=3.1.0-1trusty0
#Check version
RUN R --version
我用:搬运工建立-t R-basev3-1-0-1。建立它并且工作正常。这只是rstudio和我的容器之间的联系,我无法弄清楚如何去做。
感谢的提前,
问候
我虽然有关,但他们得到他们的代码不稳定的版本:/,直到它的工作原理哈哈...也许与码头工人组成,我会修改吗?如果有什么东西可以让我不修改所有的官方代码,这将是伟大的:) –