Created
December 7, 2020 14:22
-
-
Save kristiannissen/b510ad38db4167b7df688feff462bd95 to your computer and use it in GitHub Desktop.
Jekyll Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| RUN apt-get update | |
| RUN apt-get upgrade | |
| RUN apt-get install ruby-full -y | |
| RUN apt-get install build-essential -y | |
| RUN apt-get install zlib1g-dev -y | |
| RUN echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc | |
| RUN echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc | |
| RUN /bin/bash -c 'source ~/.bashrc' | |
| RUN gem install jekyll | |
| RUN gem install bundler:2.1.2 | |
| RUN gem install minima | |
| RUN gem install rexml:3.2.4 | |
| RUN gem install jekyll-feed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment