Skip to content

Commit 20664e7

Browse files
authored
Merge pull request #88 from morihaya/update5.9
Re:VIEW 5.9.0 released
2 parents 7fc78c6 + ca5cbb8 commit 20664e7

File tree

5 files changed

+89
-3
lines changed

5 files changed

+89
-3
lines changed

.github/workflows/docker-publish.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- "5.6"
4141
- "5.7"
4242
- "5.8"
43+
- "5.9"
4344
steps:
4445
- uses: actions/checkout@v3
4546

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LABEL maintainer="[email protected]"
44
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
55
ARG TARGETARCH
66

7-
ENV REVIEW_VERSION 5.8.0
7+
ENV REVIEW_VERSION 5.9.0
88
ENV NODEJS_VERSION 20
99

1010
# ENV PANDOC_VERSION 2.17.1.1

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ docker-composeを使った時の手引としても使えます。
1818
### サポートしているタグ
1919

2020
Re:VIEWのバージョン毎にイメージを作成しています。
21-
現在存在しているタグは `latest`, `5.3`, `5.4`, `5.5`, `5.6`, `5.7`, `5.8` です。
21+
現在存在しているタグは `latest`, `5.3`, `5.4`, `5.5`, `5.6`, `5.7`, `5.8`, `5.9` です。
2222
`2.3`, `2.4` , `2.5`, `3.2`, `4.2`, `5.0`, `5.1`, `5.2` もDocker Hub上に存在していますが、サポートは終了しています。
2323

2424
```
25+
$ docker pull vvakame/review:5.9
2526
$ docker pull vvakame/review:5.8
2627
$ docker pull vvakame/review:5.7
2728
$ docker pull vvakame/review:5.6
@@ -31,6 +32,7 @@ $ docker pull vvakame/review:5.3
3132
```
3233

3334
```
35+
$ docker pull ghcr.io/vvakame/review:5.9
3436
$ docker pull ghcr.io/vvakame/review:5.8
3537
$ docker pull ghcr.io/vvakame/review:5.7
3638
$ docker pull ghcr.io/vvakame/review:5.6

review-5.9/Dockerfile

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
FROM debian:bookworm-slim
2+
LABEL maintainer="[email protected]"
3+
4+
# https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope
5+
ARG TARGETARCH
6+
7+
ENV REVIEW_VERSION 5.9.0
8+
ENV NODEJS_VERSION 20
9+
10+
# ENV PANDOC_VERSION 2.17.1.1
11+
# ENV PANDOC_DEB_VERSION 2.17.1.1-1
12+
13+
ENV LANG en_US.UTF-8
14+
ENV DEBIAN_FRONTEND noninteractive
15+
16+
# setup
17+
RUN apt-get update && \
18+
apt-get install -y --no-install-recommends \
19+
locales git-core curl ca-certificates && \
20+
apt-get clean && \
21+
rm -rf /var/lib/apt/lists/*
22+
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
23+
RUN locale-gen en_US.UTF-8 && update-locale en_US.UTF-8
24+
25+
# for Debian Bug#955619
26+
RUN mkdir -p /usr/share/man/man1
27+
28+
# install Re:VIEW environment
29+
RUN apt-get update && \
30+
apt-get install -y --no-install-recommends \
31+
texlive-lang-japanese texlive-fonts-recommended texlive-latex-extra lmodern fonts-lmodern cm-super tex-gyre fonts-texgyre texlive-pictures texlive-plain-generic \
32+
texlive-luatex \
33+
ghostscript gsfonts \
34+
zip ruby-zip \
35+
ruby-nokogiri mecab ruby-mecab mecab-ipadic-utf8 poppler-data \
36+
plantuml \
37+
ruby-dev build-essential \
38+
mecab-jumandic- mecab-jumandic-utf8- \
39+
texlive-extra-utils poppler-utils && \
40+
apt-get clean && \
41+
rm -rf /var/lib/apt/lists/*
42+
## if you want to use ipa font instead of haranoaji font, use this settings
43+
# RUN kanji-config-updmap ipaex
44+
45+
# setup Re:VIEW
46+
RUN gem install bundler rake -N && \
47+
gem install review -v "$REVIEW_VERSION" -N && \
48+
gem install pandoc2review -N && \
49+
gem install rubyzip -N
50+
51+
# install node.js environment
52+
RUN apt-get update && \
53+
apt-get install -y --no-install-recommends \
54+
gnupg && \
55+
apt-get clean && \
56+
rm -rf /var/lib/apt/lists/*
57+
RUN curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION}.x | bash -
58+
RUN apt-get update && \
59+
apt-get install -y --no-install-recommends \
60+
nodejs && \
61+
apt-get clean && \
62+
rm -rf /var/lib/apt/lists/* && \
63+
npm install -g yarn
64+
65+
RUN kanji-config-updmap-sys haranoaji
66+
67+
## install pandoc
68+
# RUN curl -sL -o /tmp/pandoc.deb "https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_DEB_VERSION}-${TARGETARCH}.deb" && \
69+
# dpkg -i /tmp/pandoc.deb && \
70+
# rm /tmp/pandoc.deb
71+
## pandoc2review doesn't support pandoc 3. So just use Debian's version
72+
RUN apt-get update && apt-get -y install pandoc && \
73+
apt-get clean && \
74+
rm -rf /var/lib/apt/lists/*
75+
76+
## Playwright support with fonts. This consumes ~350MB
77+
RUN apt-get update && apt-get -y install --no-install-recommends fonts-noto-cjk-extra fonts-noto-color-emoji libatk1.0-0 libatk-bridge2.0-0 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libpango-1.0-0 && \
78+
apt-get clean && \
79+
rm -rf /var/lib/apt/lists/*
80+
RUN npm install -g playwright && rm -rf /root/.cache/ms-playwright/firefox* /root/.cache/ms-playwright/webkit* && gem install playwright-runner -N
81+
82+
## set cache folder to work folder (disabled by default)
83+
# RUN mkdir -p /etc/texmf/texmf.d && echo "TEXMFVAR=/work/.texmf-var" > /etc/texmf/texmf.d/99local.cnf

update.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# 2.3.0 2.4.0 2.5.0 のサポートは終了しました
44
# 3.0.0〜5.2.0 はDebian 10で凍結し、update反映外とします
5-
versions=(5.3.0 5.4.0 5.5.0 5.6.0 5.7.0 5.8.0)
5+
versions=(5.3.0 5.4.0 5.5.0 5.6.0 5.7.0 5.8.0 5.9.0)
66

77
for version in "${versions[@]}"
88
do

0 commit comments

Comments
 (0)