Skip to content

Commit a5c09ee

Browse files
committed
Add personally modified AozoraEpub3.jar which work well with OpenJDK.
PR is hmdev/AozoraEpub3#12.
1 parent 95a37cd commit a5c09ee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ WORKDIR /opt/narou
77
RUN apk --update add ruby ruby-io-console ruby-json wget unzip && rm -rf /var/cache/apk/*
88

99
RUN wget https://github.com/jam7/AozoraEpub3/releases/download/1.1.0b46/${AOZORA_EPUB3} -O /opt/AozoraEpub3.zip
10+
RUN wget https://github.com/jam7/AozoraEpub3/releases/download/openjdk-support/AozoraEpub3.jar -O /opt/AozoraEpub3.jar
1011

1112
RUN wget http://kindlegen.s3.amazonaws.com/${KINDLEGEN} && \
1213
mkdir -p /opt/kindlegen && \

init.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
if [ ! -d "/opt/narou/.narou" ]; then
44
unzip -q /opt/AozoraEpub3.zip -d /opt/narou/AozoraEpub3
5+
cp /opt/AozoraEpub3.jar /opt/narou/AozoraEpub3
56
ln -s /opt/kindlegen/kindlegen /opt/AozoraEpub3
67
narou init -p /opt/narou/AozoraEpub3
78
narou setting device=kindle

0 commit comments

Comments
 (0)