14 lines
402 B
Bash
14 lines
402 B
Bash
#
|
|
ALL_PACKAGES=true
|
|
MINIMAL_PACKAGES=false
|
|
#Load all R packages in the docker
|
|
if [ "$ALL_PACKAGES" = true ]; then
|
|
docker build --file Dockerfile.Full -t acg/r_full .
|
|
docker build --file Dockerfile.Full -t acg/r_full:1.0 .
|
|
fi
|
|
##Minimal
|
|
if [ "$MINIMAL_PACKAGES" = true ]; then
|
|
docker build --file Dockerfile.Minimal -t acg/r_minimal .
|
|
docker build --file Dockerfile.Minimal -t acg/r_minimal:1.0 .
|
|
fi
|