Skip to content

Commit

Permalink
Fix buggy unpacking now we can't reliably syntesize the zip dir struc…
Browse files Browse the repository at this point in the history
…ture
  • Loading branch information
tim-eves committed Aug 30, 2024
1 parent 6eb981b commit 97f16d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ COPY --link lib lib
COPY --link data data
# Download langtags module, unzip and place module into lib.
ADD --link ${langtags_zip} langtags.zip
RUN python3 -m zipfile -e langtags.zip ./ && mv langtags-${langtags_lib_branch}/lib/langtag lib/
RUN python3 -m zipfile -e langtags.zip ./ && mv langtags-*/lib/langtag lib/
# Download source data and unzip for fontrules: SLDR & langtags.json
ADD --link ${sldr_zip} sldr.zip
RUN python3 -m zipfile -e sldr.zip ./ && mv sldr-${sldr_branch}/sldr unflat
RUN python3 -m zipfile -e sldr.zip ./ && mv sldr-*/sldr unflat
ADD --link ${langtags_json} lib/langtag/
# Generate fontrules.json
ENV PYTHONPATH=/src/langfontfinder/lib
Expand Down

0 comments on commit 97f16d6

Please sign in to comment.