Skip to content

Commit

Permalink
No install apt recommends and clear cache (#423)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Oxoby <[email protected]>

Co-authored-by: Juan Oxoby <[email protected]>
Co-authored-by: Louise Poubel <[email protected]>
  • Loading branch information
3 people committed Aug 4, 2021
1 parent 0431f9e commit a299095
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
10 changes: 6 additions & 4 deletions docker/scripts/install_common_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ set -o verbose

sudo apt-get update

sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
gnupg \
lsb-release \
software-properties-common \
wget

sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
build-essential \
cmake \
cppcheck \
Expand All @@ -20,11 +20,13 @@ sudo apt-get install -y \
g++-8 \
pkg-config \

sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
clang-tidy-6.0 \
python-yaml \
libclang-6.0-dev

sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libbenchmark-dev \
libbenchmark1

sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*
20 changes: 10 additions & 10 deletions docker/scripts/install_ign_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o verbose
sudo apt-get update

# Things that are used all over the ign stack
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
doxygen \
libbullet-dev \
libtinyxml2-dev \
Expand All @@ -18,7 +18,7 @@ sudo apt-get install -y \
uuid-dev

# ign-common dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libavcodec-dev \
libavdevice-dev \
libavformat-dev \
Expand All @@ -28,7 +28,7 @@ sudo apt-get install -y \
libswscale-dev

# ign-gui dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
qtbase5-dev \
qtdeclarative5-dev \
qtquickcontrols2-5-dev \
Expand All @@ -42,7 +42,7 @@ sudo apt-get install -y \
qml-module-qtgraphicaleffects

# ign-rendering dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libogre-1.9-dev \
libogre-2.1-dev \
libglew-dev \
Expand All @@ -52,20 +52,20 @@ sudo apt-get install -y \
libxi-dev

# ign-transport dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libzmq3-dev \
libsqlite3-dev

# SDFormat dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libtinyxml-dev libxml2-dev

# ign-fuel_tools dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libcurl4-openssl-dev libjsoncpp-dev libzip-dev curl libyaml-dev

# ign-physics dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
libeigen3-dev \
dart6-data \
libdart6-collision-ode-dev \
Expand All @@ -74,8 +74,8 @@ sudo apt-get install -y \
libbenchmark-dev

# ign-gazebo dependencies
sudo apt-get install -y \
sudo apt-get install --no-install-recommends -y \
qml-module-qtqml-models2

sudo apt-get clean
sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*

0 comments on commit a299095

Please sign in to comment.