Skip to content

Commit

Permalink
[IMP] 15.0: generate flanker cached tables during build
Browse files Browse the repository at this point in the history
and ignore the warnings printed on the first import
see mailgun/flanker#231
  • Loading branch information
ap-wtioit committed Mar 9, 2022
1 parent 2ba5af4 commit 833fd29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 15.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ RUN build_deps=" \
watchdog \
wdb \
&& (python3 -m compileall -q /usr/local/lib/python3.8/ || true) \
# generate flanker cached tables during install when /usr/local/lib/ is still intended to be written to
# https://github.com/Tecnativa/doodba/issues/486
&& python3 -c 'from flanker.addresslib import address' >/dev/null \
&& apt-get purge -yqq $build_deps \
&& apt-get autopurge -yqq \
&& rm -Rf /var/lib/apt/lists/* /tmp/*
Expand Down

0 comments on commit 833fd29

Please sign in to comment.