Skip to content

Commit

Permalink
chore(deps): Bump up rfcdiff to 1.48 (#558)
Browse files Browse the repository at this point in the history
Fixes #557
  • Loading branch information
kesara authored Dec 18, 2024
1 parent 8eaca5c commit 26457e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y software-properties-common gcc
sudo apt-get install -y python3-cffi python3-brotli libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 libcairo2-dev libpangocairo-1.0-0
sudo apt-get install -y rfcdiff wdiff gawk
sudo apt-get install -y wdiff gawk
sudo wget https://raw.githubusercontent.com/ietf-tools/idnits-mirror/main/idnits
sudo cp idnits /bin
sudo chmod +x /bin/idnits
wget https://github.com/ietf-tools/rfcdiff/archive/refs/tags/1.48.tar.gz
sudo tar zxf 1.48.tar.gz -C /tmp/
sudo mv /tmp/rfcdiff-1.48/rfcdiff /bin/
sudo chmod +x /bin/rfcdiff
sudo cp idnits /bin
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
wget "https://github.com/mmarkdown/mmark/releases/download/v2.2.45/mmark_2.2.45_linux_$arch.tgz"
sudo tar zxf mmark_*.tgz -C /bin/
Expand Down
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ RUN apt-get update && \
libpango-1.0-0 \
libpango1.0-dev \
wdiff \
rfcdiff \
nodejs \
gawk \
bison \
Expand All @@ -41,7 +40,6 @@ RUN apt-get update && \
apt-get clean -y

# Install required fonts

RUN mkdir -p /var/www/.fonts/opentype /tmp/fonts && \
wget -q -O /tmp/fonts.tar.gz https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.22.0.tar.gz && \
tar zxf /tmp/fonts.tar.gz -C /tmp/fonts && \
Expand All @@ -51,6 +49,13 @@ RUN mkdir -p /var/www/.fonts/opentype /tmp/fonts && \
rm -rf /tmp/fonts.tar.gz /tmp/fonts/ && \
fc-cache -f

# Install rfcdiff
RUN wget https://github.com/ietf-tools/rfcdiff/archive/refs/tags/1.48.tar.gz && \
tar zxf 1.48.tar.gz -C /tmp/ && \
mv /tmp/rfcdiff-1.48/rfcdiff /bin && \
chmod +x /bin/rfcdiff && \
rm -rf 1.48.tar.gz /tmp/rfcdiff-1.48

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

0 comments on commit 26457e7

Please sign in to comment.