Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No install apt recommends and clear cache in Docker image #423

Merged
merged 4 commits into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*