loud-belgium-4006
#!/bin/zsh REPO=$1 IMAGE=$2 TAG=$3 printf "Building Docker image: %s/%s:%s\n" "$REPO" "$IMAGE" "$TAG" docker build . -t "$REPO/$IMAGE:$TAG" printf "Saving Docker image: %s/%s:%s\n" "$REPO" "$IMAGE" "$TAG" docker save "$REPO/$IMAGE:$TAG" -o ~/Downloads/"$REPO-$IMAGE-$TAG.tar" printf "Copying Docker image to flyte-sandbox:/tmp\n" docker cp ~/Downloads/"$REPO-$IMAGE-$TAG.tar" flyte-sandbox:/tmp printf "Importing Docker image on flyte-sandbox\n" docker exec -t flyte-sandbox ctr image import /tmp/"$REPO-$IMAGE-$TAG.tar"
Flyte enables production-grade orchestration for machine learning workflows and data processing created to accelerate local workflows to production.