From 370d82cc33ab640453c4fd76b5960c6c074f7a4d Mon Sep 17 00:00:00 2001 From: williams-jack Date: Thu, 5 Sep 2024 16:38:07 -0400 Subject: [PATCH] chore: script for rebuilding base grader image and removing all current images based on it fix: remove sh extension and make script executable --- orchestrator/scripts/rebuild-grader-base | 7 +++++++ orchestrator/scripts/rebuild-grader-base.sh | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100755 orchestrator/scripts/rebuild-grader-base create mode 100644 orchestrator/scripts/rebuild-grader-base.sh diff --git a/orchestrator/scripts/rebuild-grader-base b/orchestrator/scripts/rebuild-grader-base new file mode 100755 index 0000000..ef384ef --- /dev/null +++ b/orchestrator/scripts/rebuild-grader-base @@ -0,0 +1,7 @@ +#!/bin/bash +set -e +cd ../../worker +docker build -t orca-grader-base -f images/orca-grader-base.Dockerfile . +cd ../orchestrator +rm -rf images/* + diff --git a/orchestrator/scripts/rebuild-grader-base.sh b/orchestrator/scripts/rebuild-grader-base.sh new file mode 100644 index 0000000..530821c --- /dev/null +++ b/orchestrator/scripts/rebuild-grader-base.sh @@ -0,0 +1,6 @@ +#!/bin/bash +cd ../../worker +docker build -t orca-grader-base -f images/orca-grader-base.Dockerfile . +cd ../orchestrator +rm -rf images/* +