mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-11 20:27:50 +01:00
d51e5ab65d
- fix: Translation fixes - fix: Various fixes - feat: PB translations, configuration changes - fix: Bugfixes GitOrigin-RevId: 55f8b148c42a296162fc707c36a5146ca0073b4b
71 lines
2.0 KiB
Python
71 lines
2.0 KiB
Python
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push")
|
|
load("@io_bazel_rules_docker//docker/package_managers:download_pkgs.bzl", "download_pkgs")
|
|
load("@io_bazel_rules_docker//docker/package_managers:install_pkgs.bzl", "install_pkgs")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
download_pkgs(
|
|
name = "download-base-python-image",
|
|
image_tar = "//images:base-image.tar",
|
|
packages = [
|
|
"bash",
|
|
"ca-certificates",
|
|
"libev4",
|
|
"libgomp1",
|
|
"libgoogle-perftools-dev",
|
|
"libprotobuf17",
|
|
"libssl1.1",
|
|
"python3.9",
|
|
],
|
|
)
|
|
|
|
install_pkgs(
|
|
name = "install-base-python-image",
|
|
image_tar = "//images:base-image.tar",
|
|
installables_tar = ":download-base-python-image.tar",
|
|
installation_cleanup_commands = "rm -rf /var/lib/apt/lists/*",
|
|
output_image_name = "installed-base-python-image",
|
|
)
|
|
|
|
container_image(
|
|
name = "base-python-image",
|
|
base = ":install-base-python-image",
|
|
entrypoint = ["/usr/bin/python3.9"],
|
|
env = {"LANG": "C.UTF-8"},
|
|
symlinks = {
|
|
"/usr/bin/python": "/usr/bin/python3.9",
|
|
"/usr/bin/python3": "/usr/bin/python3.9",
|
|
},
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
download_pkgs(
|
|
name = "download-base-nodejs-image",
|
|
image_tar = "//images:base-image.tar",
|
|
packages = [
|
|
"bash",
|
|
"ca-certificates",
|
|
"libgoogle-perftools-dev",
|
|
"libprotobuf17",
|
|
"libssl1.1",
|
|
"nodejs",
|
|
],
|
|
)
|
|
|
|
install_pkgs(
|
|
name = "install-base-nodejs-image",
|
|
image_tar = "//images:base-image.tar",
|
|
installables_tar = ":download-base-nodejs-image.tar",
|
|
installation_cleanup_commands = "rm -rf /var/lib/apt/lists/*",
|
|
output_image_name = "installed-base-nodejs-image",
|
|
)
|
|
|
|
container_image(
|
|
name = "base-nodejs-image",
|
|
base = ":install-base-nodejs-image",
|
|
entrypoint = ["/usr/bin/nodejs"],
|
|
env = {"LANG": "C.UTF-8"},
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|