mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Update bazel version to 0.20.0
Also updated distroless base image to include the latest vulnerability fixes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=223975505
This commit is contained in:
parent
7ec9513f3f
commit
e4733953d3
2 changed files with 13 additions and 7 deletions
14
WORKSPACE
14
WORKSPACE
|
@ -1,5 +1,7 @@
|
||||||
workspace(name = "domain_registry")
|
workspace(name = "domain_registry")
|
||||||
|
|
||||||
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||||
|
|
||||||
# https://github.com/bazelbuild/rules_closure/releases/tag/0.8.0
|
# https://github.com/bazelbuild/rules_closure/releases/tag/0.8.0
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "io_bazel_rules_closure",
|
name = "io_bazel_rules_closure",
|
||||||
|
@ -26,10 +28,11 @@ load("//java/google/registry:repositories.bzl", "domain_registry_repositories")
|
||||||
domain_registry_repositories()
|
domain_registry_repositories()
|
||||||
|
|
||||||
# Setup docker bazel rules
|
# Setup docker bazel rules
|
||||||
git_repository(
|
http_archive(
|
||||||
name = "io_bazel_rules_docker",
|
name = "io_bazel_rules_docker",
|
||||||
remote = "https://github.com/bazelbuild/rules_docker.git",
|
sha256 = "29d109605e0d6f9c892584f07275b8c9260803bf0c6fcb7de2623b2bedc910bd",
|
||||||
tag = "v0.4.0",
|
strip_prefix = "rules_docker-0.5.1",
|
||||||
|
urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.5.1.tar.gz"],
|
||||||
)
|
)
|
||||||
|
|
||||||
load(
|
load(
|
||||||
|
@ -38,11 +41,14 @@ load(
|
||||||
container_repositories = "repositories",
|
container_repositories = "repositories",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# This is NOT needed when going through the language lang_image
|
||||||
|
# "repositories" function(s).
|
||||||
container_repositories()
|
container_repositories()
|
||||||
|
|
||||||
container_pull(
|
container_pull(
|
||||||
name = "java_base",
|
name = "java_base",
|
||||||
registry = "gcr.io",
|
registry = "gcr.io",
|
||||||
repository = "distroless/java",
|
repository = "distroless/java",
|
||||||
digest = "sha256:780ee786a774a25a4485f491b3e0a21f7faed01864640af7cebec63c46a0845a",
|
# 'tag' is also supported, but digest is encouraged for reproducibility.
|
||||||
|
digest = "sha256:8c1769cb253bdecc257470f7fba05446a55b70805fa686f227a11655a90dfe9e",
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,8 +7,8 @@ This document covers the steps necessary to download, build, and deploy Nomulus.
|
||||||
You will need the following programs installed on your local machine:
|
You will need the following programs installed on your local machine:
|
||||||
|
|
||||||
* A recent version of the [Java 8 JDK][java-jdk8].
|
* A recent version of the [Java 8 JDK][java-jdk8].
|
||||||
* [Bazel build system](http://bazel.io/) (version [0.19.2][bazel-version]
|
* [Bazel build system](http://bazel.io/) (version [0.20.0][bazel-version]
|
||||||
works as of 2018-11-19).
|
works as of 2018-12-03).
|
||||||
* [Google App Engine SDK for Java][app-engine-sdk], and configure aliases to
|
* [Google App Engine SDK for Java][app-engine-sdk], and configure aliases to
|
||||||
to the `gcloud` and `appcfg.sh` utilities (you'll use them a lot).
|
to the `gcloud` and `appcfg.sh` utilities (you'll use them a lot).
|
||||||
* [Git](https://git-scm.com/) version control system.
|
* [Git](https://git-scm.com/) version control system.
|
||||||
|
@ -181,4 +181,4 @@ See the [first steps tutorial](./first-steps-tutorial.md) for more information.
|
||||||
|
|
||||||
[app-engine-sdk]: https://cloud.google.com/appengine/docs/java/download
|
[app-engine-sdk]: https://cloud.google.com/appengine/docs/java/download
|
||||||
[java-jdk8]: http://www.oracle.com/technetwork/java/javase/downloads
|
[java-jdk8]: http://www.oracle.com/technetwork/java/javase/downloads
|
||||||
[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-installer-linux-x86_64.sh
|
[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.20.0/bazel-0.20.0-installer-linux-x86_64.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue