Skip to content

Commit

Permalink
Use --load to get Docker image out of builder
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Rift <[email protected]>
  • Loading branch information
riftEmber committed Mar 20, 2024
1 parent 9234bd9 commit a79099d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/cron/test-docker.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ local imageName="$1"
local script="$2"
# Remove any existing image with the tag before building docker image
docker image rm --force $imageName
docker build . -t $imageName
docker build --load . -t $imageName
containerid= docker image ls | grep $imageName | awk '{print$3}'
cd ${CHPL_HOME}/util/cron
echo 'writeln("Hello, world!");' > hello.chpl
Expand Down

0 comments on commit a79099d

Please sign in to comment.