Skip to content

Commit

Permalink
Merge pull request #1402 from siketyan/feat/nodejs-debian12
Browse files Browse the repository at this point in the history
feat: Add Node.js support for Debian 12
  • Loading branch information
loosebazooka authored Sep 19, 2023
2 parents 3dde649 + a52a84b commit af669b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,15 @@ NODEJS_VARIATIONS = [
NODEJS = {
"{REGISTRY}/{PROJECT_ID}/nodejs" + version + "-" + distro + ":" + tag_base + "-" + arch: "//nodejs:nodejs" + version + label + "_" + user + "_" + arch + "_" + distro
for arch in BASE_ARCHITECTURES
for distro in LANGUAGE_DISTROS
for distro in DISTROS
for version in NODEJS_VERSIONS
for (tag_base, label, user) in NODEJS_VARIATIONS
}

# oci_image_index
NODEJS |= {
"{REGISTRY}/{PROJECT_ID}/nodejs" + version + "-" + distro + ":" + tag_base: "//nodejs:nodejs" + version + label + "_" + user + "_" + distro
for distro in LANGUAGE_DISTROS
for distro in DISTROS
for version in NODEJS_VERSIONS
for (tag_base, label, user) in NODEJS_VARIATIONS
}
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ oci_tarball(
)
```
then build the tarball and load it into docker
```
```shell
bazel build //:local_build
docker load --input $(bazel cquery --output=files //local_build))
docker load --input $(bazel cquery --output=files //:local_build)
```

## Code style
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# repository code at any time.
load("@contrib_rules_oci//oci:defs.bzl", "oci_image", "structure_test")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
load("//base:distro.bzl", DISTROS = "LANGUAGE_DISTROS")
load("//base:distro.bzl", "DISTROS")
load("//:checksums.bzl", ARCHITECTURES = "BASE_ARCHITECTURES")

package(default_visibility = ["//visibility:public"])
Expand Down
2 changes: 1 addition & 1 deletion nodejs/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("//base:distro.bzl", DISTROS = "LANGUAGE_DISTROS")
load("//base:distro.bzl", "DISTROS")
load("//:checksums.bzl", ARCHITECTURES = "BASE_ARCHITECTURES")
load("@contrib_rules_oci//oci:defs.bzl", "oci_image", "oci_image_index", "structure_test")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
Expand Down

0 comments on commit af669b4

Please sign in to comment.