mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-24 06:40:09 +00:00
install size optimization
This commit is contained in:
parent
cda756d47b
commit
a108941dd7
1 changed files with 8 additions and 8 deletions
16
Dockerfile
16
Dockerfile
|
@ -7,29 +7,29 @@ ENV URL_MLAT_CLIENT_REPO="https://github.com/wiedehopf/mlat-client.git" \
|
|||
MLAT_INPUT_TYPE="auto"
|
||||
|
||||
RUN set -x && \
|
||||
# define packages needed for installation and general management of the container:
|
||||
TEMP_PACKAGES=() && \
|
||||
KEPT_PACKAGES=() && \
|
||||
KEPT_PACKAGES+=(procps nano aptitude) && \
|
||||
KEPT_PACKAGES+=(psmisc) && \
|
||||
# Git and net-tools are needed to install and run @Mikenye's HealthCheck framework
|
||||
KEPT_PACKAGES+=(git) && \
|
||||
#
|
||||
# Needed to run the mlat_client:
|
||||
KEPT_PACKAGES+=(python3) && \
|
||||
KEPT_PACKAGES+=(python3-pip) && \
|
||||
KEPT_PACKAGES+=(python3-setuptools) && \
|
||||
KEPT_PACKAGES+=(python3-wheel) && \
|
||||
POST_PACKAGES+=(python3-minimal) && \
|
||||
#
|
||||
# These are needed to compile and install the mlat_client:
|
||||
TEMP_PACKAGES+=(python3) && \
|
||||
TEMP_PACKAGES+=(build-essential) && \
|
||||
TEMP_PACKAGES+=(debhelper) && \
|
||||
TEMP_PACKAGES+=(python3-dev) && \
|
||||
TEMP_PACKAGES+=(python3-distutils-extra) && \
|
||||
TEMP_PACKAGES+=(python3-pip) && \
|
||||
TEMP_PACKAGES+=(python3-setuptools) && \
|
||||
TEMP_PACKAGES+=(python3-wheel) && \
|
||||
#
|
||||
# packages needed for debugging - these can stay out in production builds:
|
||||
#KEPT_PACKAGES+=(procps nano aptitude psmisc) && \
|
||||
# Install all these packages:
|
||||
apt-get update -q -y && \
|
||||
apt-get install -o Dpkg::Options::="--force-confnew" --force-yes -y --no-install-recommends -q \
|
||||
apt-get install -o Dpkg::Options::="--force-confnew" -y --no-install-recommends -q \
|
||||
${KEPT_PACKAGES[@]} \
|
||||
${TEMP_PACKAGES[@]} && \
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue