Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dockerfile #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Dockerfile #6

wants to merge 1 commit into from

Conversation

mattions
Copy link

@mattions mattions commented Jun 6, 2016

Dockerizing the application.

@mattions mattions mentioned this pull request Jun 7, 2016
@PoisonAlien
Copy link
Owner

Hi, I was about to ask you. Im sorry, I have very little knowledge about docker. So this will be the docker file ? I'm still trying to understand how docker containers work.

@mattions
Copy link
Author

mattions commented Jun 7, 2016

Hi there!
Docker uses virtual container to wrap an application with all the needed dependences.

so for Example you could do

docker run -it sevenbridges/maftools:dockerizeit R

which will pull a Docker Image with maftools installed and drop you into an R console.

    mattions@apollo:~$ docker run -it sevenbridges/maftools:dockerizeit R

    R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
    Copyright (C) 2015 The R Foundation for Statistical Computing
    Platform: x86_64-pc-linux-gnu (64-bit)

    R is free software and comes with ABSOLUTELY NO WARRANTY.
    You are welcome to redistribute it under certain conditions.
    Type 'license()' or 'licence()' for distribution details.

    R is a collaborative project with many contributors.
    Type 'contributors()' for more information and
    'citation()' on how to cite R or R packages in publications.

    Type 'demo()' for some demos, 'help()' for on-line help, or
    'help.start()' for an HTML browser interface to help.
    Type 'q()' to quit R.

    > library("maftools")
    Warning messages:
    1: replacing previous import by 'grid::arrow' when loading 'maftools' 
    2: replacing previous import by 'grid::unit' when loading 'maftools' 
    3: replacing previous import by 'ggplot2::unit' when loading 'NMF' 
    4: replacing previous import by 'ggplot2::arrow' when loading 'NMF' 
    > 

BTW, I'm not super expert in installing R script, but does this line: https://github.com/PoisonAlien/maftools/pull/6/files#diff-3254677a7917c6c01f55212f86c57fbfR19 makes sense to build and install the package locally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants