Skip to content

Commit

Permalink
mlat-client: remove pycache to save a couple MB
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jun 11, 2024
1 parent cdfeb3a commit fe28b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.mlatclient
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ RUN set -x && \
cd /src/mlat-client && \
python3 setup.py build && \
python3 setup.py install && \
# remove any pycache
find /usr | grep -E "/__pycache__$" | xargs rm -rf || true && \
#
# Now create a tgz tarball of the mlat-client that facilitates installing on the target:
dist_pkg_target="$(ls -d /usr/local/lib/python*/dist-packages)" && \
Expand Down

0 comments on commit fe28b37

Please sign in to comment.