mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-24 14:50:09 +00:00
size optimizations
This commit is contained in:
parent
a108941dd7
commit
69e6e736f8
1 changed files with 3 additions and 1 deletions
|
@ -43,8 +43,10 @@ RUN set -x && \
|
||||||
popd && \
|
popd && \
|
||||||
rm -rf /git && \
|
rm -rf /git && \
|
||||||
#
|
#
|
||||||
# Clean up
|
# Clean up and install POST_PACKAGES:
|
||||||
apt-get remove -q -y ${TEMP_PACKAGES[@]} && \
|
apt-get remove -q -y ${TEMP_PACKAGES[@]} && \
|
||||||
|
apt-get install -o Dpkg::Options::="--force-confnew" -y --no-install-recommends -q \
|
||||||
|
${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 && \
|
||||||
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