Skip to content

Commit 90052b8

Browse files
committed
toolset: Reduce the packages installed by APT
Make sure that APT does not install anything unnecessary. Signed-off-by: Anton Kirilov <[email protected]>
1 parent f9b5e79 commit 90052b8

File tree

15 files changed

+5
-8
lines changed

15 files changed

+5
-8
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ ARG DEBIAN_FRONTEND=noninteractive
44
# WARNING: DON'T PUT A SPACE AFTER ANY BACKSLASH OR APT WILL BREAK
55
# One -q produces output suitable for logging (mostly hides
66
# progress indicators)
7-
RUN apt-get -yqq update && \
8-
apt-get -yqq install \
7+
RUN apt-get install \
8+
--no-install-recommends \
99
-o Dpkg::Options::="--force-confdef" \
1010
-o Dpkg::Options::="--force-confold" \
11+
-qqUy \
1112
cloc \
1213
curl \
1314
gcc \

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -eo pipefail -u
44

55
chown -LR "$USER_ID" /var/run
66
# Drop permissions of user to match those of the host system
7-
gosu "$USER_ID" python3 "${FWROOT}/toolset/run-tests.py" "$@"
7+
exec gosu "$USER_ID" python3 "${FWROOT}/toolset/run-tests.py" "$@"

toolset/__init__.py

100755100644
File mode changed.

toolset/continuous/tfb-shutdown.sh

100644100755
File mode changed.

toolset/continuous/tfb-startup.sh

100644100755
File mode changed.

toolset/scaffolding/README.md

100755100644
File mode changed.

toolset/scaffolding/benchmark_config.json

100755100644
File mode changed.

toolset/utils/__init__.py

100755100644
File mode changed.

toolset/utils/benchmark_config.py

100755100644
File mode changed.

toolset/utils/output_helper.py

100755100644
File mode changed.

0 commit comments

Comments
 (0)