Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

Commit ca213e9

Browse files
authored
Update scripts using apt install
Add a -y so that bazel can be built non-interactively (e.g. from a Dockerfile).
1 parent c779e3a commit ca213e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install_requirements.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Install requirements to build Bazel on Raspbian Buster
33
# Note: run this script with sudo
44
apt update
5-
apt install build-essential zip unzip libatomic1
6-
apt install openjdk-11-jdk-headless # Warning: installs 1 GB of packages!
5+
apt install -y build-essential zip unzip libatomic1
6+
apt install -y openjdk-11-jdk-headless # Warning: installs 1 GB of packages!
77

88
# Change default JDK to OpenJDK 11
99
update-java-alternatives -s java-1.11.0-openjdk-armhf

0 commit comments

Comments
 (0)