Skip to content

Commit 869658a

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents b758c1d + 3b26a12 commit 869658a

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM mcr.microsoft.com/devcontainers/base:ubuntu
2+
# Install the xz-utils package
3+
RUN apt-get update && apt-get install -y xz-utils ruby-full build-essential zlib1g-dev dos2unix libegl1 libopengl0 epubcheck libxdamage1 libxkbcommon-x11-0
4+
RUN echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
5+
RUN echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
6+
RUN echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
7+
RUN gem install jekyll bundler jekyll-contentful-data-import
8+
ENV RUN CALIBRE_INSTALLER_LOCAL_URL=https://octopus-sales-engineering.s3.ap-southeast-2.amazonaws.com/calibre-6.13.0-x86_64.txz
9+
RUN wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin version=6.13.0

.devcontainer/devcontainer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"build": {
3+
// Path is relative to the devcontainer.json file.
4+
"dockerfile": "Dockerfile"
5+
}
6+
}

scripts/create-epub-kdp.sh

100644100755
File mode changed.

scripts/create-pdf.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)