-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lizan Zhou <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Maintainer: David Ostrovsky <[email protected]> | ||
|
||
pkgname=bazel | ||
pkgver=0.21.0 | ||
pkgver=0.22.0 | ||
pkgrel=0 | ||
pkgdesc='Correct, reproducible, and fast builds for everyone' | ||
arch="all" | ||
|
@@ -12,12 +12,12 @@ depends="bash openjdk8 libarchive zip unzip" | |
# Patch bazel: https://github.com/bazelbuild/bazel/issues/4055 | ||
# https://bugs.alpinelinux.org/issues/8121 | ||
makedepends="coreutils git linux-headers protobuf python" | ||
options="!distcc !strip" | ||
options="!distcc !strip !check" | ||
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="96489dac0b0daf84c8711e5e11dc7d810c3a1f037e567bc5f3d5a3fb20d8eeeb512238ca9cace1c7f8b570687c43269abb037fb42a4c4b97392e0af7d45bb653 bazel-0.21.0-dist.zip | ||
8ee33051a40f46873bcf85d8c80389cf00c59818ba8893117be87e25d7413f4c6b6eddf08d53bdcb33d31616f43d64a80c472d0c91a0783fe79c8020a3d40d45 bazel-0.21.0-dist.zip.sig" | ||
sha512sums="b93cd21f0f164c118b90efba761a9492eb9894e24f13ff468defd12b86c7e67f16e51060ac2fc4c2f8dbf51b1c833d41b255fdd8107988e5babf093cfc5b3254 bazel-0.22.0-dist.zip | ||
65cedf12b5650ca0708b4fadeeefee1f3f680d6f09ba1e3ffe2e3d42855e558712feacb3f99566902d9f94b5ed0b763e3cc0b13dfd6ffb7046e73468d003faca bazel-0.22.0-dist.zip.sig" | ||
|
||
build() { | ||
export JAVA_HOME=/usr/lib/jvm/default-jvm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# bazel-alpine-package | ||
|
||
This is the Bazel 0.21.0 as a Alpine Linux package. | ||
This is the Bazel 0.22.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.21.0/bazel-0.21.0-r0.apk | ||
apk add bazel-0.21.0-r0.apk | ||
wget https://github.com/davido/bazel-alpine-package/releases/download/0.22.0/bazel-0.22.0-r0.apk | ||
apk add bazel-0.22.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.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 | ||
ADD https://github.com/davido/bazel-alpine-package/releases/download/0.22.0/bazel-0.22.0-r0.apk \ | ||
/tmp/bazel-0.22.0-r0.apk | ||
RUN apk add /tmp/bazel-0.22.0-r0.apk |