Skip to content

Commit 5c7ae82

Browse files
authored
Merge pull request #3 from code-kern-ai/update-build-script
Updates Container Name
2 parents c82aec5 + 48b2c4a commit 5c7ae82

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

build

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
#!/bin/bash
2+
IS_ARM64=""
3+
currentArch="$(uname -m)"
4+
if [ "$currentArch" == "arm64" ];
5+
then
6+
echo "architecture: arm64"
7+
IS_ARM64="_arm64"
8+
else
9+
echo "architecture: $currentArch"
10+
fi
211

3-
docker build -t registry.dev.onetask.ai/code-kern-ai/ml-execution-environment:main .
12+
docker build -t registry.dev.onetask.ai/code-kern-ai/refinery-ml-exec-env:dev$IS_ARM64 .

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ six==1.16.0
2020
threadpoolctl==3.1.0
2121
tinycss2==1.1.1
2222
tomli==2.0.1
23+
torch==1.11.0
2324
typing_extensions==4.2.0
2425
urllib3==1.26.9

0 commit comments

Comments
 (0)