-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests exploring #25. RForge version is now default for tests
- Loading branch information
Showing
4 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM r-base:3.2.1 | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y --no-install-recommends \ | ||
libxml2-dev \ | ||
libcurl4-gnutls-dev \ | ||
libssl-dev | ||
|
||
RUN R -e 'install.packages("Rserve",,"http://rforge.net/")' | ||
|
||
RUN echo "port 6311" >> /etc/Rserv.conf | ||
RUN echo "remote enable" >> /etc/Rserv.conf | ||
|
||
RUN echo "port 6312" >> /etc/Rserv-secure.conf | ||
RUN echo "remote enable" >> /etc/Rserv-secure.conf | ||
RUN echo "auth required" >> /etc/Rserv-secure.conf | ||
RUN echo "pwdfile /etc/Rserve.pwd" >> /etc/Rserv-secure.conf | ||
RUN echo "roger testpassword" >> /etc/Rserve.pwd | ||
|
||
COPY . /usr/local/src/senseyeio | ||
WORKDIR /usr/local/src/senseyeio | ||
|
||
CMD nohup R < test.r --no-save & nohup R < test-secure.r --no-save | ||
|
||
EXPOSE 6311 6312 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
rserve: | ||
rserve-cran: | ||
build: . | ||
dockerfile: Dockerfile-R | ||
dockerfile: Dockerfile-RServe-Cran | ||
ports: | ||
- "6313:6313" | ||
- "6314:6314" | ||
|
||
rserve-rforge: | ||
build: . | ||
dockerfile: Dockerfile-RServe-RForge | ||
ports: | ||
- "6311:6311" | ||
- "6312:6312" |