Browse Source

jekyll

pull/2/head
Johannes Schickling 10 years ago
parent
commit
75031b4038
  1. 3
      README.md
  2. 12
      jekyll/Dockerfile
  3. 11
      jekyll/README.md
  4. 17
      jekyll/install.sh
  5. 2
      latex/README.md

3
README.md

@ -5,7 +5,8 @@ Collection of lightweight and ready-to-use docker images
## Images
* **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Lightwight full texlive distribution
* **[Jekyll](https://github.com/schickling/dockerfiles/tree/master/jekyll)** - Lightweight jekyll working environment
* **[Latex](https://github.com/schickling/dockerfiles/tree/master/latex)** - Full texlive distribution
* **[Mailcatcher](https://github.com/schickling/dockerfiles/tree/master/mailcatcher)** - Extra small mailcatcher image
* **[NodeJS](https://github.com/schickling/dockerfiles/tree/master/nodejs)** - Minimal NodeJS + NPM image
* **[Octave](https://github.com/schickling/dockerfiles/tree/master/octave)** - Lightweight ocatve development environment

12
jekyll/Dockerfile

@ -0,0 +1,12 @@
FROM debian:wheezy
MAINTAINER Johannes Schickling "schickling.j@gmail.com"
ENV DEBIAN_FRONTEND noninteractive
ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh
EXPOSE 4000
VOLUME ["/source"]
WORKDIR /source
CMD ["jekyll", "serve"]

11
jekyll/README.md

@ -0,0 +1,11 @@
# jekyll
Lightweight jekyll working environment (250MB)
## Usage
```sh
$ docker run --rm -it -p 4000:4000 -v $(pwd):/source schickling/jekyll
```
Mount your local source folder to the container and serve the content.

17
jekyll/install.sh

@ -0,0 +1,17 @@
#! /bin/bash
# exit if a command fails
set -e
# install ruby 1.9.1
apt-get update && apt-get install -y ruby
# install jekyll
gem install jekyll bundler --no-ri --no-rdoc
# cleanup package manager
apt-get autoclean && apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# prepare dir
mkdir /source

2
latex/README.md

@ -1,6 +1,6 @@
# latex
Lightwight full texlive distribution
Full texlive distribution
## Usage

Loading…
Cancel
Save