diff options
author | 2020-06-21 12:20:42 -0700 | |
---|---|---|
committer | 2020-06-21 12:20:42 -0700 | |
commit | 1909e316dcf89c0a36434091e241eaa5d17bdb83 (patch) | |
tree | f790e056b394292e08017be5ca21be1f1199e288 /Dockerfile | |
parent | bin: bundle install needs network (diff) | |
download | www-1909e316dcf89c0a36434091e241eaa5d17bdb83.tar.gz www-1909e316dcf89c0a36434091e241eaa5d17bdb83.tar.bz2 www-1909e316dcf89c0a36434091e241eaa5d17bdb83.zip |
Docker: large refactor & improvements
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a9a89f8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +ARG JEKYLL_VERSION=4.1.0 +FROM jekyll/jekyll:${JEKYLL_VERSION} +# py3-pygments: Needed for rbst Gem, because it calls Python directly +# py3-docutils: Needed for GLEPs +# GnuPG: Needed for WKD +RUN apk add --no-cache \ + gnupg \ + python3 \ + py3-docutils \ + py3-pygments \ + && ln -sf python3 /usr/bin/python + +# Ruby stuff +COPY Gemfile /srv/jekyll/ +COPY Gemfile.lock /srv/jekyll/ +ARG BUNDLE_JOBS=2 +RUN cd /srv/jekyll/ \ + && bundle install \ + && rm -vrf \ + /home/jekyll/.bundle/cache |