Skip to content

Commit

Permalink
Move maven installation to opt/
Browse files Browse the repository at this point in the history
Remove tar after installation
  • Loading branch information
paulbourelly999 committed Jan 16, 2024
1 parent 4cc1c78 commit e2227c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export SUMO_HOME="/opt/sumo/sumo-1_15_0"
export CARLA_HOME="/opt/carla"
export CARMA_SIMULATION_HOME="/opt/carma-simulation"
export PATH="/usr/local/share/sumo/bin:/usr/local/share/sumo/tools:$PATH"
export PATH="/usr/share/maven/apache-maven-3.8.3/bin:$PATH"
export PATH="/opt/apache-maven-3.8.3/bin:$PATH"
export PATH="/opt/carma-simulation:$PATH"

9 changes: 4 additions & 5 deletions docker/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ tar xzvf "$CARLA_TAR" -C /opt/carla
# Adding configuration file to fix error output from CARLA (https://github.com/carla-simulator/carla/issues/2820)
echo $'pcm.!default {\n type plug\n slave.pcm \"null\"\n}' | sudo tee /etc/asound.conf

# Installation of Co-Simulation Tool
# Installation of maven
wget -q "https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz"
sudo mkdir -p /usr/share/maven
sudo chown -R carma:carma /usr/share/maven
tar xzvf apache-maven-3.8.3-bin.tar.gz -C /usr/share/maven

tar xzvf apache-maven-3.8.3-bin.tar.gz -C /opt/
sudo chown -R carma:carma /opt/apache-maven-3.8.3/
rm apache-maven-3.8.3-bin.tar.gz
echo "Install Dependencies Complete!!!"

0 comments on commit e2227c9

Please sign in to comment.