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

fixup deleting apt lists and similar (#118)

shell wildcards don't work when quoted
This commit is contained in:
wiedehopf 2024-07-26 23:26:57 +02:00 committed by GitHub
parent 14361104db
commit 2619892840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -51,7 +51,7 @@ RUN \
/usr/bin/mlat-client --help > /dev/null && \ /usr/bin/mlat-client --help > /dev/null && \
# remove pycache introduced by testing mlat-client # 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/*" && \ 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 && \