Skip to content

Commit

Permalink
build: Use xml2rfc-fonts (#375) (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara authored Apr 5, 2024
1 parent fd0aa15 commit 08a07ae
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,12 @@ RUN apt-get update && \
apt-get clean -y

# Install required fonts
RUN mkdir -p ~/.fonts/opentype && \
wget -q https://noto-website-2.storage.googleapis.com/pkgs/Noto-unhinted.zip && \
unzip -q Noto-unhinted.zip -d ~/.fonts/opentype/ && \
rm Noto-unhinted.zip && \
wget -q https://fonts.google.com/download?family=Roboto%20Mono -O roboto-mono.zip && \
unzip -q roboto-mono.zip -d ~/.fonts/opentype/ && \
rm roboto-mono.zip && \
wget -q https://fonts.google.com/download?family=Noto+Sans+Math -O noto-sans-math.zip && \
unzip -q noto-sans-math.zip -d ~/.fonts/opentype/ && \
rm noto-sans-math.zip
RUN mkdir -p ~/.fonts/opentype /tmp/fonts && \
wget -q -O /tmp/fonts.tar.gz https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.20.0.tar.gz && \
tar zxf /tmp/fonts.tar.gz -C /tmp/fonts && \
mv /tmp/fonts/*/noto/* ~/.fonts/opentype/ && \
mv /tmp/fonts/*/roboto_mono/* ~/.fonts/opentype/ && \
rm -rf /tmp/fonts.tar.gz /tmp/fonts/

# Install bap
RUN wget https://github.com/ietf-tools/bap/archive/refs/heads/master.zip && \
Expand Down

0 comments on commit 08a07ae

Please sign in to comment.