aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-06-19 11:13:23 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-06-19 11:13:23 -0700
commitad4a66819b48efcec0277ac49d957e1fa5cdb1fe (patch)
tree98b13dd20ee8ec0ed766edcff6f1e95069977506
parentgitignore: ignore vendor & jekyll state (diff)
downloadwww-ad4a66819b48efcec0277ac49d957e1fa5cdb1fe.tar.gz
www-ad4a66819b48efcec0277ac49d957e1fa5cdb1fe.tar.bz2
www-ad4a66819b48efcec0277ac49d957e1fa5cdb1fe.zip
Convert to running via Docker rather than system Jekyll
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--.bundle/config4
-rw-r--r--Gemfile13
-rw-r--r--Gemfile.lock93
-rw-r--r--docker/Dockerfile6
4 files changed, 116 insertions, 0 deletions
diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 0000000..e6298f9
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,4 @@
+---
+BUNDLE_JOBS: "8"
+BUNDLE_PATH: "vendor/bundle"
+BUNDLE_CACHE: "vendor/cache"
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..2861ba6
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,13 @@
+source 'https://rubygems.org'
+
+gem "RbST" # used for GLEPs, needs local python
+gem "base32"
+gem "nokogiri"
+gem "kramdown-parser-gfm"
+gem "rexml", '3.2.3' # has to match container
+
+group :jekyll_plugins do
+ gem "jekyll-feed", "~> 0.6"
+ gem "jekyll-gist", "~> 1.4"
+ gem "jekyll-paginate", "~> 1.1"
+end
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..8000a71
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,93 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ RbST (0.6.5)
+ addressable (2.7.0)
+ public_suffix (>= 2.0.2, < 5.0)
+ base32 (0.3.2)
+ colorator (1.1.0)
+ concurrent-ruby (1.1.6)
+ em-websocket (0.5.1)
+ eventmachine (>= 0.12.9)
+ http_parser.rb (~> 0.6.0)
+ eventmachine (1.2.7)
+ faraday (1.0.1)
+ multipart-post (>= 1.2, < 3)
+ ffi (1.13.1)
+ forwardable-extended (2.6.0)
+ http_parser.rb (0.6.0)
+ i18n (1.8.3)
+ concurrent-ruby (~> 1.0)
+ jekyll (4.1.0)
+ addressable (~> 2.4)
+ colorator (~> 1.0)
+ em-websocket (~> 0.5)
+ i18n (~> 1.0)
+ jekyll-sass-converter (~> 2.0)
+ jekyll-watch (~> 2.0)
+ kramdown (~> 2.1)
+ kramdown-parser-gfm (~> 1.0)
+ liquid (~> 4.0)
+ mercenary (~> 0.4.0)
+ pathutil (~> 0.9)
+ rouge (~> 3.0)
+ safe_yaml (~> 1.0)
+ terminal-table (~> 1.8)
+ jekyll-feed (0.13.0)
+ jekyll (>= 3.7, < 5.0)
+ jekyll-gist (1.5.0)
+ octokit (~> 4.2)
+ jekyll-paginate (1.1.0)
+ jekyll-sass-converter (2.1.0)
+ sassc (> 2.0.1, < 3.0)
+ jekyll-watch (2.2.1)
+ listen (~> 3.0)
+ kramdown (2.2.1)
+ rexml
+ kramdown-parser-gfm (1.1.0)
+ kramdown (~> 2.0)
+ liquid (4.0.3)
+ listen (3.2.1)
+ rb-fsevent (~> 0.10, >= 0.10.3)
+ rb-inotify (~> 0.9, >= 0.9.10)
+ mercenary (0.4.0)
+ mini_portile2 (2.4.0)
+ multipart-post (2.1.1)
+ nokogiri (1.10.9)
+ mini_portile2 (~> 2.4.0)
+ octokit (4.18.0)
+ faraday (>= 0.9)
+ sawyer (~> 0.8.0, >= 0.5.3)
+ pathutil (0.16.2)
+ forwardable-extended (~> 2.6)
+ public_suffix (4.0.5)
+ rb-fsevent (0.10.4)
+ rb-inotify (0.10.1)
+ ffi (~> 1.0)
+ rexml (3.2.3)
+ rouge (3.20.0)
+ safe_yaml (1.0.5)
+ sassc (2.4.0)
+ ffi (~> 1.9)
+ sawyer (0.8.2)
+ addressable (>= 2.3.5)
+ faraday (> 0.8, < 2.0)
+ terminal-table (1.8.0)
+ unicode-display_width (~> 1.1, >= 1.1.1)
+ unicode-display_width (1.7.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ RbST
+ base32
+ jekyll-feed (~> 0.6)
+ jekyll-gist (~> 1.4)
+ jekyll-paginate (~> 1.1)
+ kramdown-parser-gfm
+ nokogiri
+ rexml (= 3.2.3)
+
+BUNDLED WITH
+ 2.1.4
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..00efe24
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,6 @@
+ARG JEKYLL_VERSION=4.1.0
+FROM jekyll/jekyll:${JEKYLL_VERSION}
+VOLUME /srv/jekyll
+# Needed for rbst Gem, because it calls Python directly
+RUN apk add python3 py3-docutils py3-pygments \
+ && ln -sf python3 /usr/bin/python