Commit 5a0589b1 authored by Carine Rey's avatar Carine Rey
Browse files

add a r docker

parent 72ca0d70
FROM r-base
MAINTAINER Carine Rey carine.rey@ens-lyon.org
RUN echo 'install.packages(c("optparse", "ggplot2", "reshape2", "cowplot", "coda"), repos="https://mirror.ibcp.fr/pub/CRAN/", dependencies=TRUE)' > /tmp/packages.R \
&& Rscript /tmp/packages.R
#! /bin/bash
set -e
IMAGE_NAME=r
DOCKERFILE_DIR=.
TAG=07162018
REPO=carinerey/$IMAGE_NAME:$TAG
docker build -t $REPO -f ./Dockerfile $DOCKERFILE_DIR
if [[ $1 == "push_yes" ]]
then
docker push $REPO
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment