mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 13:20:11 +00:00
dockerfile: one less apt call
This commit is contained in:
parent
70ceb365bf
commit
33472380bf
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ RUN \
|
|||
{ [[ "${VERSION_BRANCH:0:1}" == "#" ]] && VERSION_BRANCH="main" || true; } && \
|
||||
echo "$(TZ=UTC date +%Y%m%d-%H%M%S)_$(curl -ssL "https://api.github.com/repos/$VERSION_REPO/commits/$VERSION_BRANCH" | awk '{if ($1=="\"sha\":") {print substr($2,2,7); exit}}')_$VERSION_BRANCH" > /.CONTAINER_VERSION && \
|
||||
# Clean up:
|
||||
apt-get remove -q -y "${TEMP_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 "${TEMP_PACKAGES[@]}" && \
|
||||
apt-get clean -q -y && \
|
||||
# test mlat-client
|
||||
/usr/bin/mlat-client --help > /dev/null && \
|
||||
|
|
Loading…
Reference in a new issue