You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Peters 9c8fe98dca
remove user
3 months ago
.gitignore update readme and add travis 1 year ago
.travis.yml update to new ruby version 2.4.3 1 year ago
Dockerfile remove user 3 months ago
README.md update readme and add travis 1 year ago
jekyll-entrypoint.sh remove git dir 3 months ago
nginx.conf change readme 2 years ago
nginx.repo change readme 2 years ago

README.md

Docker image to use jekyll

Build Status

Please don’t forget to donate a small fee: Donate

This Docker image will clone your jekyll GIT Repo, “compile” your website via jekyll and publish it via nginx. Important to know is, if you use bundle, this image will see it and use it too.

Github Repo

https://github.com/AVENTER-UG

Security

We verify our image automaticly by clair. If you want to see the current security status, please have a look in travis-ci.

Dockerfile

FROM centos:latest
MAINTAINER Andreas Peters <support@aventer.biz>

ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV GIT_REPO https://

COPY nginx.repo /etc/yum.repos.d/nginx.repo

RUN yum groupinstall -y "Development Tools" && \
    yum install -y gcc openssl-devel make nodejs git zlib zlib-devel nginx wget && \
    wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz && \
    tar xvfvz ruby-2.1.2.tar.gz && \
    cd ruby-2.1.2 && \
    ./configure && \
    make && \
    make install && \
    gem update --system && \
    gem install --no-rdoc --no-ri jekyll && \
    gem install RedCloth --version 4.2.2 && \
    gem install bundle && \
    mkdir -p /var/www/html && \
    yum clean all

EXPOSE 8888


COPY jekyll-entrypoint.sh /bin/entrypoint.sh
COPY nginx.conf /etc/nginx/nginx.conf


ENTRYPOINT ["/bin/entrypoint.sh"]

CMD ["/usr/sbin/nginx"]

Marathon

{
  "id": "/homepages/<HOMEPAGENAME>",
  "cmd": null,
  "cpus": 0.2,
  "mem": 200,
  "disk": 0,
  "instances": 1,
  "container": {
    "type": "DOCKER",
    "volumes": [],
    "docker": {
      "image": "docker.io/avhost/jekyll",
      "network": "BRIDGE",
      "portMappings": [
        {
          "containerPort": 8888,
          "hostPort": 0,
          "protocol": "tcp",
          "labels": {}
        }
      ],
      "privileged": false,
      "forcePullImage": true
    }
  },
  "env": {
    "GIT_REPO": "https://github.com/<YOUR REPO>
  },
  "labels": {
    "HAPROXY_0_REDIRECT_TO_HTTPS": "true",
    "HAPROXY_GROUP": "external",
    "HAPROXY_0_VHOST": "aventer.<MESOS DOMAIN>
  }
}