Skip to content

Creates a Docker container based on provenance created by rdtLite and runs the script in that container to collect new provenance.

License

Notifications You must be signed in to change notification settings

End-to-end-provenance/provBuildEnv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

provBuildEnv

Creates a Docker container based on provenance created by rdtLite and runs the script in that container to collect new provenance.

To Use

Call provBuildEnv() with the following parameters:

  • prov.dir -> the pathname to the provenance directory
  • script.name -> the name of the main script in the prov directory
  • docker.image.name -> what the user wants to name the docker image
  • from.prov.file -> default TRUE if the user wants to use the package versions from the prov.JSON file. Use FALSE if the user wants to set their own R version to run the script(s).
  • r.version -> default NULL, enter version of R as a string if you want to specify the R version. Make sure from.prov.file is set to FALSE. ex: r.version="4.2.0"

provBuildEnv() will create a docker folder in the provenance directory. To run the docker container, use the terminal to navigate into the docker folder, then execute the following commands. Make sure Docker is running on your machine before you do this:

docker build -t <docker.image.name> .

and then

docker compose up

About

Creates a Docker container based on provenance created by rdtLite and runs the script in that container to collect new provenance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages