Skip to content

Commit

Permalink
Merge branch 'fix/install-linux' into 'develop'
Browse files Browse the repository at this point in the history
Fix GitHub Codespaces

See merge request monticore/montithings/core!392
  • Loading branch information
kirchhof committed May 31, 2024
2 parents 12c8442 + 7c80e6d commit cb2ef78
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions installLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ cd dependencies
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get install -y openjdk-11-jdk
sudo apt-get install -y g++ git make cmake ninja-build mosquitto-dev libmosquitto-dev curl maven \
openjdk-11-jdk python3 python3-pip mosquitto-clients libssl-dev libpq-dev \
protobuf-compiler libprotobuf-dev python3-protobuf
python3 python3-pip mosquitto-clients libssl-dev libpq-dev \
protobuf-compiler libprotobuf-dev python3-protobuf zip unzip

pip3 install paho-mqtt
sudo apt-get install -y python3-paho-mqtt || pip3 install paho-mqtt

# Make sure to use Java 11
sudo update-java-alternatives -s $(update-java-alternatives -l | grep java-1.11.0-openjdk | awk 'NR == 1 {print $3}')

# Install Docker
if ! command_exists docker && ! [ "$SKIPDOCKER" ]
Expand Down

0 comments on commit cb2ef78

Please sign in to comment.