Skip to content

Commit

Permalink
Bazel 0.21.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lizan Zhou <[email protected]>
  • Loading branch information
lizan authored and davido committed Jan 9, 2019
1 parent 42d9584 commit 79b8149
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions APKBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: David Ostrovsky <[email protected]>

pkgname=bazel
pkgver=0.19.0
pkgver=0.21.0
pkgrel=0
pkgdesc='Correct, reproducible, and fast builds for everyone'
arch="all"
Expand All @@ -16,12 +16,12 @@ options="!distcc !strip"
source="https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip
https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip.sig"

sha512sums="ea67fb4d13487d24a0442084f42ff3c082a107c56a06d882f579064f17c545d6e9b5f0c4d724238c22e9b3bad12c68c60c58b59f82d9e957fe3af222d44bc969 bazel-0.19.0-dist.zip
c427bd8ffe52bc55da832688493874288d8e84c87742ec5917f987591ce923b2f84a964086a0d9aaeaaf6e1ba44ec64084c880f8d366c21386b479bbc0126fea bazel-0.19.0-dist.zip.sig"
sha512sums="96489dac0b0daf84c8711e5e11dc7d810c3a1f037e567bc5f3d5a3fb20d8eeeb512238ca9cace1c7f8b570687c43269abb037fb42a4c4b97392e0af7d45bb653 bazel-0.21.0-dist.zip
8ee33051a40f46873bcf85d8c80389cf00c59818ba8893117be87e25d7413f4c6b6eddf08d53bdcb33d31616f43d64a80c472d0c91a0783fe79c8020a3d40d45 bazel-0.21.0-dist.zip.sig"

build() {
export JAVA_HOME=/usr/lib/jvm/default-jvm
./compile.sh
EXTRA_BAZEL_ARGS=--host_javabase=@local_jdk//:jdk ./compile.sh
scripts/generate_bash_completion.sh --bazel=output/bazel --output=output/bazel-complete.bash --prepend=scripts/bazel-complete-template.bash
output/bazel shutdown
echo startup --server_javabase=$JAVA_HOME >> scripts/packages/bazel.bazelrc
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# bazel-alpine-package

This is the Bazel 0.19.0 as a Alpine Linux package.
This is the Bazel 0.21.0 as a Alpine Linux package.

## Installing

The current installation method for these packages is to pull them in using `wget` or `curl` and install the local file with `apk`:

apk --no-cache add ca-certificates wget
wget -q -O /etc/apk/keys/[email protected] https://raw.githubusercontent.com/davido/bazel-alpine-package/master/[email protected]
wget https://github.com/davido/bazel-alpine-package/releases/download/0.19.0/bazel-0.19.0-r0.apk
apk add bazel-0.19.0-r0.apk
wget https://github.com/davido/bazel-alpine-package/releases/download/0.21.0/bazel-0.21.0-r0.apk
apk add bazel-0.21.0-r0.apk

## Usage inside a Dockerfile

ADD https://raw.githubusercontent.com/davido/bazel-alpine-package/master/[email protected] \
/etc/apk/keys/[email protected]
ADD https://github.com/davido/bazel-alpine-package/releases/download/0.19.0/bazel-0.19.0-r0.apk \
/tmp/bazel-0.19.0-r0.apk
RUN apk add /tmp/bazel-0.19.0-r0.apk
ADD https://github.com/davido/bazel-alpine-package/releases/download/0.21.0/bazel-0.21.0-r0.apk \
/tmp/bazel-0.21.0-r0.apk
RUN apk add /tmp/bazel-0.21.0-r0.apk

0 comments on commit 79b8149

Please sign in to comment.