File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ oci_pull_images(
1010 variants=variants,
1111)
1212
13+ oci_pull_images(
14+ name="base-gpu-repo",
15+ repository="europe-docker.pkg.dev/embark-shared/main/ml/base-gpu",
16+ variants={
17+ "latest": "909f971eb81cbd145f64e8db59d55fee4405a6ce6404dd61c9a049fbcc2eb88d",
18+ },
19+ )
20+
1321# Useful for debugging builds
1422# oci_pull_images(
1523# name="ubuntu",
@@ -40,6 +48,8 @@ oci_image_build(
4048 -newermt "@${SOURCE_DATE_EPOCH}" -writable -xdev \
4149 | xargs touch --date="@${SOURCE_DATE_EPOCH}" --no-dereference \
4250 """,
51+ repository="europe-docker.pkg.dev/embark-shared/main/ml/base-gpu",
52+ tag="latest",
4353 entrypoint='["python3.10", "/bin/app/__main__.py"]',
4454)
4555
@@ -108,7 +118,7 @@ oci_build_layer(
108118
109119oci_image_build(
110120 name="erupt-runner-gpu",
111- base=[":base-gpu"],
121+ base=[":base-gpu-repo#latest "],
112122 commands="""
113123 mkdir -p /bin/app/bin && ln -sf /usr/bin/python3.10 /bin/app/bin/python3.10 \
114124 """,
You can’t perform that action at this time.
0 commit comments