2024-11-13 10:25:35 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2025-01-27 18:30:41 +00:00
|
|
|
VERSION=$(python -c 'import olmocr.version; print(olmocr.version.VERSION)')
|
2024-11-13 12:35:40 -08:00
|
|
|
echo "$VERSION"
|
2024-11-13 10:25:35 -08:00
|
|
|
|
2025-01-27 18:30:41 +00:00
|
|
|
docker build --platform linux/amd64 -f ./scripts/beaker/Dockerfile-inference -t olmocr-inference-$VERSION .
|
2025-04-30 18:47:10 +00:00
|
|
|
beaker image create --workspace ai2/oe-data-pdf --name olmocr-inference-$VERSION olmocr-inference-$VERSION
|
|
|
|
|
2025-05-19 16:57:20 +00:00
|
|
|
docker build --platform linux/amd64 -f ./scripts/beaker/Dockerfile-tagging -t olmocr-tagging-$VERSION .
|
|
|
|
beaker image create --workspace ai2/oe-data-pdf --name olmocr-tagging-$VERSION olmocr-tagging-$VERSION
|