1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-24 23:00:11 +00:00

mlat-client: make a bunch of packages temporary (#95)

turns out not all of the packages are necessary for mlat-client to run
This commit is contained in:
Fred Clausen 2024-06-01 09:49:19 -06:00 committed by GitHub
commit cf7535f8e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,14 +17,14 @@ RUN set -x && \
# #
# These are needed to compile and install the mlat_client: # These are needed to compile and install the mlat_client:
KEPT_PACKAGES+=(python3) && \ KEPT_PACKAGES+=(python3) && \
KEPT_PACKAGES+=(python3-pkg-resources) && \
TEMP_PACKAGES+=(build-essential) && \ TEMP_PACKAGES+=(build-essential) && \
TEMP_PACKAGES+=(debhelper) && \ TEMP_PACKAGES+=(debhelper) && \
KEPT_PACKAGES+=(python3-dev) && \ TEMP_PACKAGES+=(python3-dev) && \
KEPT_PACKAGES+=(python3-distutils-extra) && \ TEMP_PACKAGES+=(python3-distutils-extra) && \
KEPT_PACKAGES+=(python3-pip) && \ TEMP_PACKAGES+=(python3-pip) && \
KEPT_PACKAGES+=(python3-setuptools) && \ TEMP_PACKAGES+=(python3-setuptools) && \
KEPT_PACKAGES+=(python3-pkg-resources) && \ TEMP_PACKAGES+=(python3-wheel) && \
KEPT_PACKAGES+=(python3-wheel) && \
# #
# packages needed for debugging - these can stay out in production builds: # packages needed for debugging - these can stay out in production builds:
#KEPT_PACKAGES+=(procps nano aptitude psmisc) && \ #KEPT_PACKAGES+=(procps nano aptitude psmisc) && \
@ -49,8 +49,9 @@ 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 /var/cache/* && \
# #
# Do some stuff for kx1t's convenience: # Do some stuff for kx1t's convenience:
echo "alias dir=\"ls -alsv\"" >> /root/.bashrc && \ echo "alias dir=\"ls -alsv\"" >> /root/.bashrc && \