Skip to content

Commit 262eca6

Browse files
ahansgregmagolan
andauthored
chore: bump rules_oci from 1.8.0 to 2.0.0 in /oci_python_image (#360)
* chore: bump rules_oci from 1.8.0 to 2.0.0 in /oci_python_image * fix: formatting --------- Co-authored-by: Greg Magolan <[email protected]>
1 parent ab5b8f4 commit 262eca6

File tree

3 files changed

+284
-164
lines changed

3 files changed

+284
-164
lines changed

oci_python_image/MODULE.bazel

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bazel_dep(name = "aspect_bazel_lib", version = "2.7.8")
44
bazel_dep(name = "container_structure_test", version = "1.16.0")
55
bazel_dep(name = "aspect_rules_py", version = "0.7.3")
66
bazel_dep(name = "rules_python", version = "0.34.0")
7-
bazel_dep(name = "rules_oci", version = "1.8.0")
7+
bazel_dep(name = "rules_oci", version = "2.0.0")
88
bazel_dep(name = "platforms", version = "0.0.10")
99

1010
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
@@ -16,21 +16,20 @@ use_repo(python, "python_3_9")
1616

1717
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
1818
pip.parse(
19-
requirements_lock = "//:requirements.txt",
2019
hub_name = "pip",
2120
python_version = "3.9",
21+
requirements_lock = "//:requirements.txt",
2222
)
2323
use_repo(pip, "pip")
2424

2525
oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
26-
2726
oci.pull(
2827
name = "ubuntu",
2928
image = "ubuntu",
30-
tag = "latest",
3129
platforms = [
3230
"linux/arm64/v8",
3331
"linux/amd64",
3432
],
33+
tag = "latest",
3534
)
3635
use_repo(oci, "ubuntu")

0 commit comments

Comments
 (0)