Skip to content

Commit

Permalink
chore: script for rebuilding base grader image and removing all curre…
Browse files Browse the repository at this point in the history
…nt images based on it

fix: remove sh extension and make script executable
  • Loading branch information
williams-jack committed Sep 6, 2024
1 parent 79d97ac commit 370d82c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions orchestrator/scripts/rebuild-grader-base
Original file line number Diff line number Diff line change
@@ -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/*

6 changes: 6 additions & 0 deletions orchestrator/scripts/rebuild-grader-base.sh
Original file line number Diff line number Diff line change
@@ -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/*

0 comments on commit 370d82c

Please sign in to comment.