mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 05:10:12 +00:00
fixup (#141)
This commit is contained in:
commit
08af522e7d
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ RUN \
|
|||
|
||||
FROM ghcr.io/sdr-enthusiasts/docker-tar1090:latest
|
||||
|
||||
LABEL org.opencontainers.image.source = "https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder"
|
||||
LABEL org.opencontainers.image.source="https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder"
|
||||
|
||||
ENV URL_MLAT_CLIENT_REPO="https://github.com/wiedehopf/mlat-client.git" \
|
||||
PRIVATE_MLAT="false" \
|
||||
|
@ -42,7 +42,7 @@ RUN \
|
|||
# Get distance binary
|
||||
cp -f /buildimage/distance /usr/local/bin/distance && \
|
||||
# Add Container Version
|
||||
[[ "${VERSION_BRANCH:0:1}" == "#" ]] && VERSION_BRANCH="main" || true && \
|
||||
{ [[ "${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[@]}" && \
|
||||
|
@ -51,7 +51,7 @@ RUN \
|
|||
# test mlat-client
|
||||
/usr/bin/mlat-client --help > /dev/null && \
|
||||
# remove pycache introduced by testing mlat-client
|
||||
find /usr | grep -E "/__pycache__$" | xargs rm -rf || true && \
|
||||
{ find /usr | grep -E "/__pycache__$" | xargs rm -rf || true; } && \
|
||||
rm -rf /src /tmp/* /var/lib/apt/lists/* /git /var/cache/* && \
|
||||
#
|
||||
# Do some stuff for kx1t's convenience:
|
||||
|
|
Loading…
Reference in a new issue