Skip to content

Commit fb5fb6a

Browse files
Dockerfile: Improve cleanup step
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 5e8a77d commit fb5fb6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
139139
libx264-164 \
140140
libx265-199 \
141141
libxml2 \
142+
# Remove bloat packages not needed for headless BlueOS
143+
&& apt-get purge -y --auto-remove adwaita-icon-theme libflite1 librsvg2-2 \
144+
&& rm -rf /usr/share/icons /usr/share/themes \
145+
# Clean up apt
142146
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
143147
&& ln -sf /usr/bin/vim.tiny /usr/bin/vim
144148

0 commit comments

Comments
 (0)