remove unused package from the docker image
The base docker image install python3-pip, but under debian bullseye it ends up installing gcc-9-base, but since the default gcc version on bullseye is gcc-10 the gcc-9-base is unused. Closes-bug: 2122042 TEST PLAN PASS docker image build succeeds (./build-stx-base.sh --local --version=DEV) Change-Id: I27e58d9859881579d7dab2c7d5e4712dbe5911c9 Signed-off-by: caio-volpato <caio.volpato@windriver.com>
This commit is contained in:
committed by
Caio Volpato
parent
be8b4ae8fe
commit
7befae490c
@@ -121,6 +121,8 @@ RUN apt-get update -y && \
|
|||||||
# FIXME: uncomment once qemu is ported to debian (starlingx/integ)
|
# FIXME: uncomment once qemu is ported to debian (starlingx/integ)
|
||||||
# qemu-utils \
|
# qemu-utils \
|
||||||
&& \
|
&& \
|
||||||
|
apt-get remove -y gcc-9-base && \
|
||||||
|
# gcc-9-base ends up unused since in bullseye the default gcc is gcc-10
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user