From 94369f8b6d580c7e9a4ccc04fb5417ab29abee1b Mon Sep 17 00:00:00 2001 From: Jeremy Raw Date: Fri, 19 Jun 2020 12:15:10 -0400 Subject: [PATCH] Removed obsolete script --- build/scripts/build-docker.sh | 43 ----------------------------------- build/scripts/find-R.R | 1 - 2 files changed, 44 deletions(-) delete mode 100644 build/scripts/build-docker.sh delete mode 100644 build/scripts/find-R.R diff --git a/build/scripts/build-docker.sh b/build/scripts/build-docker.sh deleted file mode 100644 index b0010618a..000000000 --- a/build/scripts/build-docker.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -if [ -z "${VE_RUNTIME}" ] -then - echo Must set VE_RUNTIME \(location of Dockerfile etc.\) - exit 1 -fi - -if [ -z "${VE_OUTPUT}" ] -then - echo Must set VE_OUTPUT \(location of Dockerfile etc.\) - exit 1 -fi - -if [ -z "${VE_DOCKER_IN}" ] -then - echo Must set VE_DOCKER_IN \(location of Dockerfile etc.\) - exit 1 -fi - -if [ -z "${VE_DOCKER_OUT}" ] -then - echo Must set VE_DOCKER_OUT \(Location in which to build Docker image\) - exit 1 -fi - -echo Dockerfile is "${DOCKERFILE}" -if [ -z "${DOCKERFILE}" ] -then - echo Must set DOCKERFILE \(Name of Dockerfile\) - exit 1 -fi - -set -x -mkdir -p ${VE_DOCKER_OUT}/home/visioneval/models -mkdir -p ${VE_DOCKER_OUT}/Data - -cp -R ${VE_RUNTIME}/models/* ${VE_DOCKER_OUT}/home/visioneval/models/ -cp ${VE_DOCKER_IN}/.dockerignore ${VE_DOCKER_OUT} -cp -a ${VE_DOCKER_IN}/home/* ${VE_DOCKER_OUT}/home/ -cd ${VE_DOCKER_OUT} -echo Working in $(pwd) -docker build -f ${DOCKERFILE} -t visioneval . diff --git a/build/scripts/find-R.R b/build/scripts/find-R.R deleted file mode 100644 index 409b46f93..000000000 --- a/build/scripts/find-R.R +++ /dev/null @@ -1 +0,0 @@ -cat(paste(R.version[c("major","minor")],collapse="."))