Skip to content

Commit

Permalink
Merge branch 'rebuild-focal'
Browse files Browse the repository at this point in the history
* rebuild-focal:
  MISC: Dockerfile.focal: remove NOTEX argument
  MISC: mknews.sh: print news in chronological order

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Sep 5, 2023
2 parents 39ac286 + ec144c5 commit 2a4c7de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions misc/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ ENV DEBIAN_FRONTEND noninteractive
# Use BASH(1) as shell, affects the RUN commands below
RUN ln -sf bash /bin/sh && ls -al /bin/sh

# Save +615MB by skipping TeX
ARG NOTEX

# Upgrade packages, install dependencies, clean up to shrink Docker image
# Add libXss.so, libgtk-3-0 for Electron
RUN apt-get update \
Expand All @@ -24,10 +21,9 @@ RUN apt-get update \
gettext libgconf-2-4 libgtk2.0-dev libgtk-3-dev squashfs-tools zstd \
libgtk-3-0 libxss1 libgbm1 libnss3 \
xvfb twm ffmpeg doxygen \
&& apt-get install -y \
texlive-xetex fonts-sil-charis texlive-binaries texlive-fonts-extra \
&& pip install poxy \
&& (test "${NOTEX:-false}" = true \
|| apt-get install -y \
texlive-xetex fonts-sil-charis texlive-binaries texlive-fonts-extra ) \
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get install -y nodejs \
&& apt-get clean
Expand Down
1 change: 1 addition & 0 deletions misc/mknews.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ echo 'Development version - may contain bugs or compatibility issues.'
echo
echo '``````````````````````````````````````````````````````````````````````````````````````'
git log --pretty='%s # %cd %an %h%n%w(0,4,4)%b' \
--reverse \
--first-parent --date=short "$NEWS_TAG..HEAD" |
sed -e '/^\s*Signed-off-by:.*<.*@.*>/d' |
sed '/^\s*$/{ N; /^\s*\n\s*$/D }'
Expand Down

0 comments on commit 2a4c7de

Please sign in to comment.