Skip to content

Commit

Permalink
Add personally modified AozoraEpub3.jar which work well with OpenJDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
jam7 committed May 8, 2017
1 parent 95a37cd commit a5c09ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WORKDIR /opt/narou
RUN apk --update add ruby ruby-io-console ruby-json wget unzip && rm -rf /var/cache/apk/*

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

RUN wget http://kindlegen.s3.amazonaws.com/${KINDLEGEN} && \
mkdir -p /opt/kindlegen && \
Expand Down
1 change: 1 addition & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if [ ! -d "/opt/narou/.narou" ]; then
unzip -q /opt/AozoraEpub3.zip -d /opt/narou/AozoraEpub3
cp /opt/AozoraEpub3.jar /opt/narou/AozoraEpub3
ln -s /opt/kindlegen/kindlegen /opt/AozoraEpub3
narou init -p /opt/narou/AozoraEpub3
narou setting device=kindle
Expand Down

0 comments on commit a5c09ee

Please sign in to comment.