mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 13:20:11 +00:00
remove py_cache: save 13 MB image size
This commit is contained in:
parent
ce909592ad
commit
5736461183
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ RUN set -x && \
|
||||||
# apt-get install -o Dpkg::Options::="--force-confnew" -y --no-install-recommends -q \
|
# apt-get install -o Dpkg::Options::="--force-confnew" -y --no-install-recommends -q \
|
||||||
# ${POST_PACKAGES[@]} && \
|
# ${POST_PACKAGES[@]} && \
|
||||||
apt-get autoremove -q -o APT::Autoremove::RecommendsImportant=0 -o APT::Autoremove::SuggestsImportant=0 -y && \
|
apt-get autoremove -q -o APT::Autoremove::RecommendsImportant=0 -o APT::Autoremove::SuggestsImportant=0 -y && \
|
||||||
|
find /usr | grep -E "/__pycache__$" | xargs rm -rf || true && \
|
||||||
apt-get clean -q -y && \
|
apt-get clean -q -y && \
|
||||||
rm -rf /src /tmp/* /var/lib/apt/lists/* /git && \
|
rm -rf /src /tmp/* /var/lib/apt/lists/* /git && \
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue